public function __debugInfo() { return array_merge(parent::__debugInfo(), ['element' => $this->_element]); }
public static function getQueryType(BaseModel $model) { return $model->isNew() ? 'add' : 'update'; }
public function __debugInfo() { return array_merge(parent::__debugInfo(), ['element' => $this->_element]); }
public static function getQueryType(BaseModel $model) { return $model->isNew() ? 'add' : 'update'; }