PHP Interface PhpSpec\Laravel\LaravelBehaviorInterface

Mostra file Open project: benconstable/phpspec-laravel

Public Methods

Method Description
setLaravel ( Laravel $laravel ) : PhpSpec\Laravel\LaravelBehaviorInterface Bind Laravel wrapper to the implementing object.
setPresenter ( PhpSpec\Formatter\Presenter\Presenter $presenter ) : PhpSpec\Laravel\LaravelBehaviorInterface Bind the app Presenter to the implementing object.

Method Details

setLaravel() public method

Bind Laravel wrapper to the implementing object.
public setLaravel ( Laravel $laravel ) : PhpSpec\Laravel\LaravelBehaviorInterface
$laravel PhpSpec\Laravel\Util\Laravel Laravel wrapper
return PhpSpec\Laravel\LaravelBehaviorInterface

setPresenter() public method

Bind the app Presenter to the implementing object.
public setPresenter ( PhpSpec\Formatter\Presenter\Presenter $presenter ) : PhpSpec\Laravel\LaravelBehaviorInterface
$presenter PhpSpec\Formatter\Presenter\Presenter
return PhpSpec\Laravel\LaravelBehaviorInterface