public function toArray() { $data = parent::toArray(); $data['kind'] = static::KIND; $data['collection'] = $this->_collection; $data['key'] = $this->_key; $data['depth'] = $this->_depth; return $data; }
public function toArray() { $data = parent::toArray(); $data['kind'] = static::KIND; $data['collection'] = $this->_collection; $data['key'] = $this->_key; $data['type'] = $this->_type; if ($this->getEventClass()->name !== self::$defaultEventClassName) { $data['eventClass'] = $this->getEventClass()->name; } return $data; }
public function toArray() { $data = parent::toArray(); $data['kind'] = static::KIND; $data['collection'] = $this->_collection; if ($this->getItemClass()->name !== self::$defaultItemClassName) { $data['itemClass'] = $this->getItemClass()->name; } if ($this->getEventClass()->name !== self::$defaultEventClassName) { $data['eventClass'] = $this->getEventClass()->name; } if ($this->getRelationshipClass()->name !== self::$defaultRelationshipClassName) { $data['relationshipClass'] = $this->getRelationshipClass()->name; } return $data; }
public function toArray() { $data = parent::toArray(); $data['kind'] = static::KIND; return $data; }