src/Sulu/Component/Content/Document/Structure/ManagedStructure.php
public function toArray()
    {
        $this->init();
        $values = [];
        foreach (array_keys($this->structureMetadata->getProperties()) as $childName) {
            $values[$childName] = $this->normalize($this->getProperty($childName)->getValue());
        }

        return $values;
    }
public function toArray()
    {
        $this->init();
        $values = [];
        foreach (array_keys($this->structureMetadata->getProperties()) as $childName) {
            $values[$childName] = $this->normalize($this->getProperty($childName)->getValue());
        }

        return $values;
    }
public function toArray ( ) { $ this -> init ( ) ; $ values = [ ] ; foreach ( array_keys ( $ this -> structureMetadata -> getProperties ( ) ) as $ childName ) { $ values [ $ childName ] = $ this -> normalize ( $ this -> getProperty ( $ childName ) -> getValue ( ) ) ; } return $ values ; }
Return an array copy of the property data.

@return array
Return an array copy of the property data .