getImgPath() public méthode

If filename is given, it possibly fallbacks to fallback theme for it if image does not exist.
public getImgPath ( string $file = null ) : string
$file string file name for image
Résultat string image path for this theme
Exemple #1
0
 /**
  * Test for getImgPath
  *
  * @param string $file   file name for image
  * @param string $output expected output
  *
  * @return void
  *
  * @dataProvider providerForGetImgPath
  */
 public function testGetImgPath($file, $output)
 {
     $this->assertEquals($this->object->getImgPath($file), $output);
 }