Ejemplo n.º 1
0
 public static function getRack($filter = null)
 {
     if (is_null($filter)) {
         $c = Rack::get();
     } else {
         $c = Rack::whereRaw($filter)->get();
     }
     self::$rack = $c;
     return new self();
 }