ShortUrlGeneratorController
Read onlyYes
Only to be used within TYPO3. Might change in the future.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
- $responseFactory : ResponseFactoryInterface
- $shortUrlService : ShortUrlService
- $streamFactory : StreamFactoryInterface
Methods
- __construct() : mixed
- generate() : ResponseInterface
- validate() : ResponseInterface
Properties
$responseFactory
protected
ResponseFactoryInterface
$responseFactory
$shortUrlService
protected
ShortUrlService
$shortUrlService
$streamFactory
protected
StreamFactoryInterface
$streamFactory
Methods
__construct()
public
__construct(ShortUrlService $shortUrlService, ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory) : mixed
Parameters
- $shortUrlService : ShortUrlService
- $responseFactory : ResponseFactoryInterface
- $streamFactory : StreamFactoryInterface
generate()
public
generate(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacevalidate()
public
validate(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface