AbstractCloner

AbstractCloner

class AbstractCloner implements ClonerInterface

AbstractCloner implements a generic caster mechanism for objects and resources.

Properties

static $defaultCasters

Methods

__construct(array $casters = null)
addCasters(array $casters)

Adds casters for resources and objects.

setMaxItems(int $maxItems)

Sets the maximum number of items to clone pas