These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Kunstmaan\MediaBundle\Helper\IconFont; |
||
4 | |||
5 | use Symfony\Component\HttpKernel\KernelInterface; |
||
6 | |||
7 | /** |
||
8 | * AbstractIconFontLoader |
||
9 | */ |
||
10 | abstract class AbstractIconFontLoader implements IconFontLoaderInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $rootPath; |
||
16 | |||
17 | /** |
||
18 | * @param KernelInterface $kernel |
||
19 | */ |
||
20 | public function __construct(KernelInterface $kernel) |
||
21 | { |
||
22 | $this->rootPath = dirname($kernel->getRootDir()); |
||
0 ignored issues
–
show
|
|||
23 | } |
||
24 | } |
||
25 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.