first commit
This commit is contained in:
21
vendor/php-flasher/flasher-laravel/Container/LaravelContainer.php
vendored
Normal file
21
vendor/php-flasher/flasher-laravel/Container/LaravelContainer.php
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the PHPFlasher package.
|
||||
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
|
||||
*/
|
||||
|
||||
namespace Flasher\Laravel\Container;
|
||||
|
||||
use Flasher\Prime\Container\ContainerInterface;
|
||||
|
||||
final class LaravelContainer implements ContainerInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function get($id)
|
||||
{
|
||||
return app()->make($id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user