Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

simple bindings laravel

use AppServicesTransistor;
use AppServicesPodcastParser;
 
$this->app->bind(Transistor::class, function ($app) {
    return new Transistor($app->make(PodcastParser::class));
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #simple #bindings #laravel
ADD COMMENT
Topic
Name
7+3 =