Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathOpensoftSimpleSerializerBundle.php
More file actions
Latest commit
45 lines (39 loc) · 1.06 KB
/
Copy pathOpensoftSimpleSerializerBundle.php
File metadata and controls
45 lines (39 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/*
* This file is part of the SimpleSerializerBundle package.
*
* Copyright (c) 2012 Farheap Solutions (http://www.farheap.com)
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespaceOpensoft\Bundle\SimpleSerializerBundle;
useSymfony\Component\HttpKernel\Bundle\Bundle;
useSymfony\Component\HttpKernel\KernelInterface;
useOpensoft\Bundle\SimpleSerializerBundle\DependencyInjection\OpensoftSimpleSerializerExtension;
/**
* @author Dmitry Petrov <dmitry.petrov@opensoftdev.ru>
*/
class OpensoftSimpleSerializerBundle extends Bundle
{
/**
* @var KernelInterface
*/
private$kernel;
/**
* @param KernelInterface $kernel
*/
publicfunction__construct(KernelInterface$kernel)
{
$this->kernel = $kernel;
}
/**
* {@inheritDoc}
*
* @return OpensoftSimpleSerializerExtension
*/
publicfunctiongetContainerExtension()
{
returnnewOpensoftSimpleSerializerExtension($this->kernel);
}
}