Example #1
0
 public function getBy($id, $field = null)
 {
     $result = parent::getBy($id, $field);
     if ($result) {
         return $this->toEntity($result);
     }
     return false;
 }