You are here

public function SerializableStrategy::setSerializerOptions in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-hydrator/src/Strategy/SerializableStrategy.php \Zend\Hydrator\Strategy\SerializableStrategy::setSerializerOptions()

Set configuration options for instantiating a serializer adapter

Parameters

mixed $serializerOptions:

Return value

SerializableStrategy

1 call to SerializableStrategy::setSerializerOptions()
SerializableStrategy::__construct in vendor/zendframework/zend-hydrator/src/Strategy/SerializableStrategy.php

File

vendor/zendframework/zend-hydrator/src/Strategy/SerializableStrategy.php, line 108

Class

SerializableStrategy

Namespace

Zend\Hydrator\Strategy

Code

public function setSerializerOptions($serializerOptions) {
  $this->serializerOptions = $serializerOptions;
  return $this;
}