[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/twig-bridge/Extension/ -> HttpFoundationExtension.php (summary)

(no description)

File Size: 144 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HttpFoundationExtension:: (5 methods):
  __construct()
  getFunctions()
  generateAbsoluteUrl()
  generateRelativePath()
  getName()


Class: HttpFoundationExtension  - X-Ref

Twig extension for the Symfony HttpFoundation component.

__construct(RequestStack $requestStack, RequestContext $requestContext = null)   X-Ref
No description

getFunctions()   X-Ref
{@inheritdoc}


generateAbsoluteUrl($path)   X-Ref
Returns the absolute URL for the given absolute or relative path.

This method returns the path unchanged if no request is available.

param: string $path The path
return: string The absolute URL

generateRelativePath($path)   X-Ref
Returns a relative path based on the current Request.

This method returns the path unchanged if no request is available.

param: string $path The path
return: string The relative path

getName()   X-Ref
Returns the name of the extension.

return: string The extension name



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1