public function __construct(ITraversable $traversable) { parent::__construct(spl_object_hash($traversable)); $this->traversable = $traversable; }
public function __construct($tableName, array $primaryKeys = null) { parent::__construct($tableName); $this->name = $tableName; $this->primaryKeys = $primaryKeys; }