setImgPath() public méthode

Sets path to images for the theme
public setImgPath ( string $path ) : void
$path string path to images for this theme
Résultat void
Exemple #1
0
 /**
  * Test for Theme::getImgPath
  *
  * @return void
  */
 public function testGetSetImgPath()
 {
     $this->assertEmpty($this->object->getImgPath(), 'ImgPath is empty by default');
     $this->object->setImgPath('/new/path');
     $this->assertEquals('/new/path', $this->object->getImgPath());
 }