Ejemplo n.º 1
0
 /**
  * Returns the whole definition in array form
  *
  * @return array Definition
  */
 public function getDefAsArray()
 {
     return array_replace(parent::getDefAsArray(), ['type' => $this->getType(), 'doctrineType' => $this->getTypeDoctrine(), 'serializerType' => $this->getTypeSerializer(), 'relType' => $this->relation === null ? self::REL_TYPE_REF : $this->relation->getType(), 'isClassType' => true]);
 }