function() { return $this->hh; }, 'owner_id', 'company' => function() { return $this->company; } ]; } public function extraFields(): array { return []; } public function getLinks(): array { return [ Link::REL_SELF => Url::to(['index', 'project_id' => $this->id], true), ]; } public function getCompany(): ActiveQuery { return $this->hasOne(Company::className(), ['id' => 'company_id']); } }