You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 години
123456789101112131415161718192021
  1. <?php
  2. namespace Lc\CaracoleBundle\Solver\User;
  3. use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
  4. class VisitorSolver
  5. {
  6. protected ParameterBagInterface $parameterBag;
  7. public function __construct(ParameterBagInterface $parameterBag)
  8. {
  9. $this->parameterBag = $parameterBag;
  10. }
  11. // getCookieNameVisitor
  12. public function getCookieName()
  13. {
  14. return $this->parameterBag->get('app.cookie_name_visitor');
  15. }
  16. }