public function getOutputService() { if ($this->outputService === NULL) { $this->outputService = $this->getResourceId()->getService(IOutputService::NAME); } return $this->outputService; }