PHP Class Newscoop\Services\ThemesService

Inheritance: implements Newscoop\ThemesServiceInterface
Afficher le fichier Open project: sourcefabric/newscoop

Protected Properties

Свойство Type Description
$cacheService CacheService Cache service
$em Doctrine\ORM\EntityManager Entity Manager
$issueService Newscoop\IssueServiceInterface Issue service
$publicationService PublicationService Publication service

Méthodes publiques

Méthode Description
__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}

Method Details

__construct() public méthode

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

findByIssueAndOutput() public méthode

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
Résultat string | null

findByName() public méthode

Finds output by name
public findByName ( string $name ) : string | null
$name string Output name ('Web' in this case)
Résultat string | null

getThemePath() public méthode

{@inheritDoc}
public getThemePath ( )

Property Details

$cacheService protected_oe property

Cache service
protected CacheService,Newscoop\Services $cacheService
Résultat CacheService

$em protected_oe property

Entity Manager
protected EntityManager,Doctrine\ORM $em
Résultat Doctrine\ORM\EntityManager

$issueService protected_oe property

Issue service
protected IssueServiceInterface,Newscoop $issueService
Résultat Newscoop\IssueServiceInterface

$publicationService protected_oe property

Publication service
protected PublicationService,Newscoop\Services $publicationService
Résultat PublicationService