Symfony\Component\HttpKernel\EventListener\FragmentListener::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Symfony\Component\HttpKernel\UriSigner $signer, string $fragmentPath = '/_fragment' )
$signer Symfony\Component\HttpKernel\UriSigner A UriSigner instance
$fragmentPath string The path that triggers this listener
    public function __construct(UriSigner $signer, $fragmentPath = '/_fragment')
    {
        $this->signer = $signer;
        $this->fragmentPath = $fragmentPath;
    }