Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function toMapping()
 {
     $mapping = parent::toMapping();
     if (null !== $this->resolveType) {
         $mapping['resolveType'] = $this->resolveType;
     }
     return $mapping;
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function toMapping()
 {
     $mapping = parent::toMapping();
     if ($this->interfaces) {
         $mapping['interfaces'] = $this->interfaces;
     }
     if ($this->values) {
         $mapping['values'] = $this->values;
     }
     return $mapping;
 }
Ejemplo n.º 3
0
 /**
  * @return array
  */
 public function toMapping()
 {
     $mapping = parent::toMapping();
     $mapping['extends'] = $this->extends;
     return $mapping;
 }
Ejemplo n.º 4
0
 public function addItem(Checkbox $item)
 {
     return parent::addItem($item);
 }