atk4\data\Reference_Many::ref PHP Метод

ref() публичный Метод

Returns referenced model with condition set.
public ref ( array $defaults = [] ) : Model
$defaults array Properties
Результат Model
    public function ref($defaults = [])
    {
        return $this->getModel($defaults)->addCondition($this->their_field ?: $this->owner->table . '_id', $this->getOurValue());
    }