setImgPath() public method

Sets path to images for the theme
public setImgPath ( string $path ) : void
$path string path to images for this theme
return void
示例#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());
 }