Exemple #1
0
 public function serialize()
 {
     $this->sortProperties();
     return serialize(array($this->preSerializeMethods, $this->postSerializeMethods, $this->postDeserializeMethods, $this->xmlRootName, $this->accessorOrder, $this->customOrder, parent::serialize()));
 }
 public function serialize()
 {
     return serialize([$this->schema, $this->inherit, parent::serialize()]);
 }
Exemple #3
0
 public function serialize()
 {
     $this->sortProperties();
     return serialize(array($this->preSerializeMethods, $this->postSerializeMethods, $this->postDeserializeMethods, $this->xmlRootName, $this->xmlRootNamespace, $this->xmlNamespaces, $this->accessorOrder, $this->customOrder, $this->handlerCallbacks, $this->discriminatorDisabled, $this->discriminatorBaseClass, $this->discriminatorFieldName, $this->discriminatorValue, $this->discriminatorMap, parent::serialize()));
 }
Exemple #4
0
 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize(array($this->configurable, $this->defaultValues, $this->routeName, $this->routeView, $this->routeCreate, $this->mode, parent::serialize()));
 }
 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize(array($this->resource, $this->idField, $this->relationships, parent::serialize()));
 }
Exemple #6
0
 /**
  * Serializes the current ClassMetadata.
  *
  * @return string
  */
 public function serialize()
 {
     return serialize(array($this->accessor, $this->objectIdentifier, parent::serialize()));
 }
Exemple #7
0
 /**
  * {@inheritDoc}
  */
 public function serialize()
 {
     return serialize(array($this->relations, $this->relationProviders, parent::serialize()));
 }
 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize(array($this->isAction, $this->serviceId, $this->alias, $this->authorizationExpression, parent::serialize()));
 }
 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize(array($this->targetEntity, $this->currentLocale ? $this->currentLocale->name : null, $this->fallbackLocale ? $this->fallbackLocale->name : null, $this->translations ? $this->translations->name : null, parent::serialize()));
 }
 /**
  * {@inheritdoc}
  */
 public function serialize()
 {
     return serialize(array($this->targetEntity, $this->translatable ? $this->translatable->name : null, $this->locale ? $this->locale->name : null, parent::serialize()));
 }