Example #1
0
 public function getOwner()
 {
     if ($this->ownerId && !$this->owner) {
         $this->owner = User::find($this->ownerId);
     }
     return $this->owner;
 }