symfony-bundles /
redis-bundle
| 1 | <?php |
||
| 2 | |||
| 3 | namespace SymfonyBundles\RedisBundle\Tests; |
||
| 4 | |||
| 5 | class Kernel |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Fixtures\app\AppKernel |
||
| 9 | */ |
||
| 10 | private static $instance; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return Fixtures\app\AppKernel |
||
| 14 | */ |
||
| 15 | public static function make(): Fixtures\app\AppKernel |
||
| 16 | { |
||
| 17 | if (null === static::$instance) { |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 18 | static::$instance = new Fixtures\app\AppKernel('test', true); |
||
| 19 | |||
| 20 | static::$instance->boot(); |
||
| 21 | } |
||
| 22 | |||
| 23 | return static::$instance; |
||
| 24 | } |
||
| 25 | } |
||
| 26 |