Property | Type | Description | |
---|---|---|---|
$cacheService | Cache Service | ||
$em | Entity Manager | ||
$publication | Publication object | ||
$publicationAlias | Alias object | ||
$publicationMetadata | array | Publication metadata. |
Method | Description | |
---|---|---|
__construct ( |
Construct Publication Service | |
getPublication ( ) : |
Get Publication object | |
getPublicationAlias ( ) : |
Get used Aliases object - connected with choosen publication | |
getPublicationMetadata ( ) : array | Get publication metadata | |
publicationResolver ( |
Resolve publication from provided data | |
setPublication ( |
Set Publication object | |
setPublicationAlias ( |
Set used Aliases object - connected with choosen publication |
public __construct ( |
||
$em | Entity Manager | |
$cacheService | Cache Service |
public getPublication ( ) : |
||
return | Publication entity object |
public getPublicationAlias ( ) : |
||
return | Aliases entity object |
public getPublicationMetadata ( ) : array | ||
return | array | publication metadata |
public publicationResolver ( |
||
$request | Request object | |
return | $publication Publication entity object |
public setPublication ( |
||
$publication | Publication entity object |
public setPublicationAlias ( |
||
$alias | Aliases entity object |
protected CacheService,Newscoop\Services $cacheService | ||
return |
protected EntityManager,Doctrine\ORM $em | ||
return |
protected Publication,Newscoop\Entity $publication | ||
return |
protected Aliases,Newscoop\Entity $publicationAlias | ||
return |
protected array $publicationMetadata | ||
return | array |