Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 397 Bytes

readme.md

File metadata and controls

25 lines (18 loc) · 397 Bytes

Hybrid\SVG

Register Hybrid Core service provider:

$app->provider( \Hybrid\Svg\SvgServiceProvider::class );

Quick usage notes:

// Output.
Hybrid\Svg\Svg::display( $file, array $args = [] );

// Return.
Hybrid\Svg\Svg::render( $file, array $args = [] );

Example:

Hybrid\Svg\Svg::display( 'dist/svg/chevron-down.svg', [
	'title' => __( 'Chevron Down' )
] );