Beispiel #1
0
 /**
  * Recupera um objeto estaticamente
  * @author Hugo Ferreira da Silva
  * @return Clientes
  */
 public static function staticGet($pk, $pkValue = null)
 {
     $obj = new Clientes();
     $obj->get($pk, $pkValue);
     return $obj;
 }
Beispiel #2
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $clientes = Clientes::get();
     var_dump($clientes);
 }