package and depencies
This commit is contained in:
@@ -24,9 +24,9 @@ use Symfony\Component\HttpKernel\UriSigner;
|
||||
*/
|
||||
final class FragmentUriGenerator implements FragmentUriGeneratorInterface
|
||||
{
|
||||
private $fragmentPath;
|
||||
private $signer;
|
||||
private $requestStack;
|
||||
private string $fragmentPath;
|
||||
private ?UriSigner $signer;
|
||||
private ?RequestStack $requestStack;
|
||||
|
||||
public function __construct(string $fragmentPath, UriSigner $signer = null, RequestStack $requestStack = null)
|
||||
{
|
||||
@@ -35,9 +35,6 @@ final class FragmentUriGenerator implements FragmentUriGeneratorInterface
|
||||
$this->requestStack = $requestStack;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function generate(ControllerReference $controller, Request $request = null, bool $absolute = false, bool $strict = true, bool $sign = true): string
|
||||
{
|
||||
if (null === $request && (null === $this->requestStack || null === $request = $this->requestStack->getCurrentRequest())) {
|
||||
|
Reference in New Issue
Block a user