eZ\Publish\Core\REST\Client\SectionService::loadSectionByIdentifier PHP Метод

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

Loads a Section from its identifier ($sectionIdentifier).
public loadSectionByIdentifier ( string $sectionIdentifier ) : eZ\Publish\API\Repository\Values\Content\Section
$sectionIdentifier string
Результат eZ\Publish\API\Repository\Values\Content\Section
    public function loadSectionByIdentifier($sectionIdentifier)
    {
        $response = $this->client->request('GET', $this->requestParser->generate('sectionByIdentifier', array('section' => $sectionIdentifier)), new Message(array('Accept' => $this->outputVisitor->getMediaType('SectionList'))));
        $result = $this->inputDispatcher->parse($response);
        return reset($result);
    }