/**
  * @inheritdoc
  */
 public function afterFind()
 {
     parent::afterFind();
     if ($this->registration) {
         if (!($this->tees = $this->registration->tees)) {
             if ($competition = $this->registration->competition) {
                 if ($competition->course) {
                     $this->tees = $competition->course->getFirstTees();
                 }
             }
         }
         if ($competition = $this->registration->competition) {
             $this->player = $this->registration->competition->isTeamCompetition() ? $this->registration->team : $this->registration->golfer;
         } else {
             // @todo ?
             $this->player = $this->registration->golfer;
         }
     }
 }
 /**
  * @inheritdoc
  */
 public function afterFind()
 {
     parent::afterFind();
     $this->tees = $this->practice->tees;
     $this->player = $this->practice->golfer;
 }