PHP Class PhpSpec\Laravel\Extension\LaravelExtension

Bootstraps Laravel and sets up some objects in the Container.
Inheritance: implements PhpSpec\Extension
ファイルを表示 Open project: benconstable/phpspec-laravel

Public Methods

Method Description
load ( PhpSpec\ServiceContainer $container, array $params )

Private Methods

Method Description
getBootstrapPath ( null | string $path = null ) : null | string Get path to bootstrap file.
getVendorPath ( ) : string Get path to vendor/ directory.
isAbsolutePath ( string $path ) : boolean Check if the given path is absolute.

Method Details

load() public method

public load ( PhpSpec\ServiceContainer $container, array $params )
$container PhpSpec\ServiceContainer
$params array