Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirovit committed Jan 30, 2016
1 parent 4c471d7 commit 1fec990
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ You can either add it to the `config/app.php` or register it in `Providers/AppSe
namespace App\Providers;
use Mirovit\Borica\Factory;
use Mirovit\Borica\Request;
use Mirovit\Borica\Response;
use Illuminate\Support\ServiceProvider;
Expand All @@ -87,13 +88,13 @@ class BoricaServiceProvider extends ServiceProvider
return new Response('path/to/public.cer');
});
$this->app->bind(Borica::class, function(){
return new Borica(app(Request::class), app(Response::class));
$this->app->bind(Factory::class, function(){
return new Factory(app(Request::class), app(Response::class));
}, true);
}
}
```

# Contributing

If you'd like to contribute, feel free to send a pull request!
If you'd like to contribute, feel free to send a pull request!

0 comments on commit 1fec990

Please sign in to comment.