PHP 클래스 Newscoop\Services\ThemesService

상속: implements Newscoop\ThemesServiceInterface
파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$cacheService CacheService Cache service
$em Doctrine\ORM\EntityManager Entity Manager
$issueService Newscoop\IssueServiceInterface Issue service
$publicationService PublicationService Publication service

공개 메소드들

메소드 설명
__construct ( Newscoop\IssueServiceInterface $issueService, CacheService $cacheService, PublicationService $publicationService, EntityManager $em ) Construct
findByIssueAndOutput ( Issue $issue, Output $output ) : string | null Finds output for issue by issue and output
findByName ( string $name ) : string | null Finds output by name
getThemePath ( ) {@inheritDoc}

메소드 상세

__construct() 공개 메소드

Construct
public __construct ( Newscoop\IssueServiceInterface $issueService, CacheService $cacheService, PublicationService $publicationService, EntityManager $em )
$issueService Newscoop\IssueServiceInterface
$cacheService CacheService
$publicationService PublicationService
$em Doctrine\ORM\EntityManager

findByIssueAndOutput() 공개 메소드

Finds output for issue by issue and output
public findByIssueAndOutput ( Issue $issue, Output $output ) : string | null
$issue Newscoop\Entity\Issue Issue object
$output Newscoop\Entity\Output Output object
리턴 string | null

findByName() 공개 메소드

Finds output by name
public findByName ( string $name ) : string | null
$name string Output name ('Web' in this case)
리턴 string | null

getThemePath() 공개 메소드

{@inheritDoc}
public getThemePath ( )

프로퍼티 상세

$cacheService 보호되어 있는 프로퍼티

Cache service
protected CacheService,Newscoop\Services $cacheService
리턴 CacheService

$em 보호되어 있는 프로퍼티

Entity Manager
protected EntityManager,Doctrine\ORM $em
리턴 Doctrine\ORM\EntityManager

$issueService 보호되어 있는 프로퍼티

Issue service
protected IssueServiceInterface,Newscoop $issueService
리턴 Newscoop\IssueServiceInterface

$publicationService 보호되어 있는 프로퍼티

Publication service
protected PublicationService,Newscoop\Services $publicationService
리턴 PublicationService