/** * 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; }
/** * Display a listing of the resource. * * @return Response */ public function index() { $clientes = Clientes::get(); var_dump($clientes); }