* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Rapsys\PackBundle\Util; use Psr\Container\ContainerInterface; use Rapsys\PackBundle\RapsysPackBundle; use Symfony\Component\Filesystem\Exception\IOExceptionInterface; use Symfony\Component\Filesystem\Filesystem; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Routing\RouterInterface; /** * Helps manage facebook images */ class FacebookUtil { /** * Alias string */ protected string $alias; /** * Config array */ protected array $config; /** * Creates a new facebook util * * @param ContainerInterface $container The container instance * @param RouterInterface $router The RouterInterface instance * @param SluggerUtil $slugger The SluggerUtil instance */ public function __construct(protected ContainerInterface $container, protected RouterInterface $router, protected SluggerUtil $slugger) { //Retrieve config $this->config = $container->getParameter($this->alias = RapsysPackBundle::getAlias()); } }