Ejemplo n.º 1
0
 public function first()
 {
     $item = $this->query->first();
     if ($item !== null) {
         return $this->createInstance($item);
     }
     return null;
 }
Ejemplo n.º 2
0
 public function firstDynamic()
 {
     $results = parent::first();
     return $this->convertResult($results);
 }