1 <?php 
declare(strict_types
=1); 
   4  * This file is part of the Rapsys PackBundle package. 
   6  * (c) Raphaël Gertz <symfony@rapsys.eu> 
   8  * For the full copyright and license information, please view the LICENSE 
   9  * file that was distributed with this source code. 
  12 namespace Rapsys\PackBundle\Util
; 
  14 use Psr\Container\ContainerInterface
; 
  16 use Rapsys\PackBundle\RapsysPackBundle
; 
  18 use Symfony\Component\Filesystem\Exception\IOExceptionInterface
; 
  19 use Symfony\Component\Filesystem\Filesystem
; 
  20 use Symfony\Component\Routing\Generator\UrlGeneratorInterface
; 
  21 use Symfony\Component\Routing\RouterInterface
; 
  24  * Helps manage facebook images 
  30         protected string $alias; 
  35         protected array $config; 
  38          * Creates a new facebook util 
  40          * @param ContainerInterface $container The container instance 
  41          * @param RouterInterface $router The RouterInterface instance 
  42          * @param SluggerUtil $slugger The SluggerUtil instance 
  44         public function __construct(protected ContainerInterface 
$container, protected RouterInterface 
$router, protected SluggerUtil 
$slugger) { 
  46                 $this->config 
= $container->getParameter($this->alias 
= RapsysPackBundle
::getAlias());