Newscoop\Service\Implementation\TemplateSearchServiceDoctrine::getSectionService PHP Method

getSectionService() public method

Provides the Section service.
public getSectionService ( ) : Newscoop\Service\ISectionService
return Newscoop\Service\ISectionService The section service to be used by this controller.
    public function getSectionService()
    {
        if ($this->sectionService === NULL) {
            $this->sectionService = $this->getResourceId()->getService(ISectionService::NAME);
        }
        return $this->sectionService;
    }