src/Sulu/Bundle/PageBundle/Content/Structure/ExcerptStructureExtension.php
private function initProperties($locale)
    {
        // Reset the properties before new initialization.
        $this->properties = [];

        /** @var PropertyInterface $property */
        foreach ($this->getExcerptStructure($locale)->getProperties() as $property) {
            $this->properties[] = $property->getName();
        }
    }
private function initProperties($locale)
    {
        // Reset the properties before new initialization.
        $this->properties = [];

        /** @var PropertyInterface $property */
        foreach ($this->getExcerptStructure($locale)->getProperties() as $property) {
            $this->properties[] = $property->getName();
        }
    }
private function initProperties ( $ locale ) { // Reset the properties before new initialization. $ this -> properties = [ ] ; /** @var PropertyInterface $property */ foreach ( $ this -> getExcerptStructure ( $ locale ) -> getProperties ( ) as $ property ) { $ this -> properties [ ] = $ property -> getName ( ) ; } }
Initiates structure and properties.

@param string $locale
Initiates structure and properties .