PHP Interface Newscoop\IssueServiceInterface

Datei anzeigen Open project: sourcefabric/newscoop Interface Usage Examples

Public Methods

Method Description
getIssue ( ) : Issue Get Issue object
getIssueMetadata ( ) : array Get issue meta data
getLatestPublishedIssue ( ) : Issue | null Get latest published issue from current publication
issueResolver ( Request $request ) : Issue | void Issue resolver
setIssue ( Issue $issue ) Set Issue object

Method Details

getIssue() public method

Get Issue object
public getIssue ( ) : Issue
return Newscoop\Entity\Issue Issue entity object

getIssueMetadata() public method

Get issue meta data
public getIssueMetadata ( ) : array
return array Issue meta data

getLatestPublishedIssue() public method

Get latest published issue from current publication
public getLatestPublishedIssue ( ) : Issue | null
return Newscoop\Entity\Issue | null Returns Issue object or null

issueResolver() public method

Issue resolver
public issueResolver ( Request $request ) : Issue | void
$request Symfony\Component\HttpFoundation\Request Request
return Newscoop\Entity\Issue | void Returns current issue or nothing

setIssue() public method

Set Issue object
public setIssue ( Issue $issue )
$issue Newscoop\Entity\Issue Issue entity object