UriResource implements StaticResourceInterface, PublicResourceInterface
FinalYes
Only to be used in TYPO3\CMS\Core\SystemResource namespace
Table of Contents
Interfaces
- StaticResourceInterface
- All static resources in TYPO3 have one thing in common and that is, that they can be identified with a unique string.
- PublicResourceInterface
- This interface is public API and can be referenced in third party code or throughout the TYPO3 core.
Methods
- __construct() : mixed
- __toString() : string
- getPublicUri() : UriInterface
- getResourceIdentifier() : string
- isPublished() : bool
Methods
__construct()
public
__construct(UriResourceIdentifier $identifier) : mixed
Parameters
- $identifier : UriResourceIdentifier
__toString()
public
__toString() : string
Return values
stringgetPublicUri()
public
getPublicUri(SystemResourceUriGeneratorInterface $uriGenerator) : UriInterface
Parameters
- $uriGenerator : SystemResourceUriGeneratorInterface
Return values
UriInterfacegetResourceIdentifier()
public
getResourceIdentifier() : string
Return values
stringisPublished()
public
isPublished() : bool