public function __construct(ModelInterface $model) { $this->model = $model; $this->setDi($model->getDi()); $this->retrieveInfo(); }
public function equal(ModelInterface $model) { return $this->toArray() === $model->toArray(); }
public function __construct(ModelInterface $model) { $this->model = $model; $this->setDi($model->getDi()); $this->retrieveInfo(); }
public function equal(ModelInterface $model) { return $this->toArray() === $model->toArray(); }