Newscoop\Entity\Resource::getPath PHP Метод

getPath() публичный Метод

Provides the path of the resource.
public getPath ( ) : string
Результат string The path of the resource.
    function getPath()
    {
        return $this->path;
    }

Usage Example

Пример #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/');
 }
All Usage Examples Of Newscoop\Entity\Resource::getPath