public function setUp() { $this->serviceLocator = new ServiceLocator(); $this->serializerOptions = new SerializerOptions(['handlers' => [], 'objectConstructor' => '\\JMS\\Serializer\\Construction\\UnserializeObjectConstructor', 'namingStrategy' => '\\JMS\\Serializer\\Naming\\IdenticalPropertyNamingStrategy']); $zendRestOptions = new ZendRestOptions(); $zendRestOptions->setSerializer($this->serializerOptions); $this->serviceLocator->set('Aeris\\ZendRestModule\\Options\\ZendRest', $zendRestOptions); }
/** * @return bool */ protected function isDebug() { return $this->zendRestOptions->isDebug(); }