[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/ -> SerializableStrategy.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 123 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SerializableStrategy:: (7 methods):
  __construct()
  extract()
  hydrate()
  setSerializer()
  getSerializer()
  setSerializerOptions()
  getSerializerOptions()


Class: SerializableStrategy  - X-Ref

__construct($serializer, $serializerOptions = null)   X-Ref

param: mixed $serializer string or SerializerAdapter
param: mixed $serializerOptions

extract($value)   X-Ref
Serialize the given value so that it can be extracted by the hydrator.

param: mixed $value The original value.
return: mixed Returns the value that should be extracted.

hydrate($value)   X-Ref
Unserialize the given value so that it can be hydrated by the hydrator.

param: mixed $value The original value.
return: mixed Returns the value that should be hydrated.

setSerializer($serializer)   X-Ref
Set serializer

param: string|SerializerAdapter $serializer
return: SerializableStrategy

getSerializer()   X-Ref
Get serializer

return: SerializerAdapter

setSerializerOptions($serializerOptions)   X-Ref
Set configuration options for instantiating a serializer adapter

param: mixed $serializerOptions
return: SerializableStrategy

getSerializerOptions()   X-Ref
Get configuration options for instantiating a serializer adapter

return: mixed



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1