eZ\Publish\Core\Persistence\Legacy\Content\Section\Handler::loadByIdentifier PHP Метод

loadByIdentifier() публичный Метод

Get section data by identifier.
public loadByIdentifier ( string $identifier ) : eZ\Publish\SPI\Persistence\Content\Section
$identifier string
Результат eZ\Publish\SPI\Persistence\Content\Section
    public function loadByIdentifier($identifier)
    {
        $rows = $this->sectionGateway->loadSectionDataByIdentifier($identifier);
        if (empty($rows)) {
            throw new NotFound('Section', $identifier);
        }
        return $this->createSectionFromArray(reset($rows));
    }