public getOutputService ( ) : Newscoop\Service\IOutputService | ||
return | Newscoop\Service\IOutputService | The service service to be used by this controller. |
public function getOutputService()
{
if ($this->_outputService === null) {
$this->_outputService = $this->getResourceId()->getService(IOutputService::NAME);
}
return $this->_outputService;
}