/** Deep copy */ function __clone() { parent::__clone(); if (is_object($this->value)) { $this->value = clone $this->value; } }
/** Deep copy */ function __clone() { parent::__clone(); $this->b = clone $this->b; }
/** * @param array $set * @param int $type * @param Fraction|numeric $limit */ function __construct(array $set, $type, $limit) { parent::__construct($set); $this->type = (int) $type; $this->limit = Fraction::create($limit); }