protected function buildDomainSectionObject(SPISection $spiSection)
    {
        return new Section(
            array(
                'id' => $spiSection->id,
                'identifier' => $spiSection->identifier,
                'name' => $spiSection->name,
            )
        );
    }
protected function buildDomainSectionObject(SPISection $spiSection)
    {
        return new Section(
            array(
                'id' => $spiSection->id,
                'identifier' => $spiSection->identifier,
                'name' => $spiSection->name,
            )
        );
    }
protected function buildDomainSectionObject ( SPISection $ spiSection ) { return new Section ( array ( 'id' => $ spiSection -> id , 'identifier' => $ spiSection -> identifier , 'name' => $ spiSection -> name , ) ) ; }
Builds API Section object from provided SPI Section object.

@param \eZ\Publish\SPI\Persistence\Content\Section $spiSection

@return \eZ\Publish\API\Repository\Values\Content\Section
Builds API Section object from provided SPI Section object .