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

createSectionFromArray() защищенный Метод

Creates a Section from the given $data.
protected createSectionFromArray ( array $data ) : eZ\Publish\SPI\Persistence\Content\Section
$data array
Результат eZ\Publish\SPI\Persistence\Content\Section
    protected function createSectionFromArray(array $data)
    {
        $section = new Section();
        $section->id = (int) $data['id'];
        $section->name = $data['name'];
        $section->identifier = $data['identifier'];
        return $section;
    }