Illuminate\Support\ServiceProvider::__construct PHP Méthode

__construct() public méthode

Create a new service provider instance.
public __construct ( Illuminate\Contracts\Foundation\Application $app ) : void
$app Illuminate\Contracts\Foundation\Application
Résultat void
    public function __construct($app)
    {
        $this->app = $app;
    }

Usage Example

Exemple #1
0
 /**
  * Crea a new instance of console
  *
  * @param string $basePath
  */
 public function __construct($basePath)
 {
     parent::__construct(new Application($basePath));
     $this->input = new ArgvInput();
     $this->output = new ConsoleOutput();
     $this->config = $this->getConfiguration($basePath);
 }
All Usage Examples Of Illuminate\Support\ServiceProvider::__construct