src/Graviton/SchemaBundle/SchemaUtils.php
public function makeArrayTranslatable(Schema $property, $languages)
    {
        $property->setType('array');
        $property->setItems($this->makeTranslatable(new Schema(), $languages));
        return $property;
    }
public function makeArrayTranslatable(Schema $property, $languages)
    {
        $property->setType('array');
        $property->setItems($this->makeTranslatable(new Schema(), $languages));
        return $property;
    }
public function makeArrayTranslatable ( Schema $ property , $ languages ) { $ property -> setType ( 'array' ) ; $ property -> setItems ( $ this -> makeTranslatable ( new Schema ( ) , $ languages ) ) ; return $ property ; }
turn a array property into a translatable property

@param Schema   $property  simple string property
@param string[] $languages available languages

@return Schema
turn a array property into a translatable property