MediaWiki  master
SVGMetadataExtractor.php
Go to the documentation of this file.
1 <?php
38  public static function getMetadata( $filename ) {
39  wfDeprecated( __METHOD__, '1.34' );
40 
41  $svg = new SVGReader( $filename );
42 
43  return $svg->getMetadata();
44  }
45 }
SVGReader
Definition: SVGReader.php:31
SVGMetadataExtractor
Definition: SVGMetadataExtractor.php:32
SVGMetadataExtractor\getMetadata
static getMetadata( $filename)
Definition: SVGMetadataExtractor.php:38
wfDeprecated
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
Definition: GlobalFunctions.php:1044