eZ\Publish\Core\SignalSlot\Repository::getObjectStateService PHP Method

getObjectStateService() public method

Get ObjectStateService.
public getObjectStateService ( ) : eZ\Publish\API\Repository\ObjectStateService
return eZ\Publish\API\Repository\ObjectStateService
    public function getObjectStateService()
    {
        if ($this->objectStateService !== null) {
            return $this->objectStateService;
        }
        $this->objectStateService = new ObjectStateService($this->repository->getObjectStateService(), $this->signalDispatcher);
        return $this->objectStateService;
    }