model = $model; parent::__construct($array, $flags); } /** * @return ActiveRecord|mixed */ public function current() { return (clone $this->model)->setAttributes(parent::current()); } }