src/Sulu/Bundle/PageBundle/Teaser/TeaserContentType.php
private function getValue(PropertyInterface $property)
    {
        $default = ['presentAs' => null, 'items' => []];
        if (!is_array($property->getValue())) {
            return $default;
        }

        return array_merge($default, $property->getValue());
    }
private function getValue(PropertyInterface $property)
    {
        $default = ['presentAs' => null, 'items' => []];
        if (!is_array($property->getValue())) {
            return $default;
        }

        return array_merge($default, $property->getValue());
    }
private function getValue ( PropertyInterface $ property ) { $ default = [ 'presentAs' => null , 'items' => [ ] ] ; if ( ! is_array ( $ property -> getValue ( ) ) ) { return $ default ; } return array_merge ( $ default , $ property -> getValue ( ) ) ; }
Returns property-value merged with defaults.

@param PropertyInterface $property

@return array
Returns property - value merged with defaults .