eZ\Publish\Core\FieldType\Page\PageService::getStorageGateway PHP Method

getStorageGateway() protected method

protected getStorageGateway ( ) : Gateway
return eZ\Publish\Core\FieldType\Page\PageStorage\Gateway
    protected function getStorageGateway()
    {
        if (!$this->hasStorageGateway()) {
            throw new RuntimeException('Missing storage gateway for Page field type.');
        }
        return $this->storageGateway;
    }