getThemePath() public method

Provides the path of the theme associated.
public getThemePath ( ) : Resource
return Newscoop\Entity\Resource The path of the theme.
コード例 #1
0
 public function it_gets_theme_path(OutputSettingsIssue $issueOutput, Resource $resource)
 {
     $resource->getPath()->willReturn('publication_1/theme_1/');
     $issueOutput->getThemePath()->willReturn($resource);
     $this->getThemePath()->shouldReturn('publication_1/theme_1/');
 }
 public function getThemePath()
 {
     $this->__load();
     return parent::getThemePath();
 }