Esempio n. 1
0
 public function getGearModel()
 {
     if ($this->gearModel === false) {
         $this->gearModel = $this->gear == '' ? null : Gear::findOne(['key' => (string) $this->gear]);
     }
     return $this->gearModel;
 }