public function __construct($hash) { $this->hash = $hash; }
public function __construct(ITraversable $traversable) { parent::__construct(spl_object_hash($traversable)); $this->traversable = $traversable; }