Plugin.php
public function boot()
    {
        if (env('APP_ENV') == 'testing') {
            $this->app->bind(\Lovata\Toolbox\Classes\Item\TestItem::class, \Lovata\Toolbox\Classes\Item\TestItem::class);
            $this->app->bind(\Lovata\Toolbox\Classes\Collection\TestCollection::class, \Lovata\Toolbox\Classes\Collection\TestCollection::class);
        }
    }
public function boot()
    {
        if (env('APP_ENV') == 'testing') {
            $this->app->bind(\Lovata\Toolbox\Classes\Item\TestItem::class, \Lovata\Toolbox\Classes\Item\TestItem::class);
            $this->app->bind(\Lovata\Toolbox\Classes\Collection\TestCollection::class, \Lovata\Toolbox\Classes\Collection\TestCollection::class);
        }
    }
public function boot ( ) { if ( env ( 'APP_ENV' ) == 'testing' ) { $ this -> app -> bind ( \ Lovata \ Toolbox \ Classes \ Item \ TestItem :: class , \ Lovata \ Toolbox \ Classes \ Item \ TestItem :: class ) ; $ this -> app -> bind ( \ Lovata \ Toolbox \ Classes \ Collection \ TestCollection :: class , \ Lovata \ Toolbox \ Classes \ Collection \ TestCollection :: class ) ; } }
Plugin boot method
Plugin boot method