Ejemplo n.º 1
0
 public function setApi($name)
 {
     $this->name = $name;
     $this->api = Api::where('api_name', $name)->first();
 }