PublicResourceDefinition implements ResourceDefinitionInterface
Read onlyYes
This class is meant to be used for resource definition in Configuration/Resources.php
Table of Contents
Interfaces
Properties
- $identifier : string
- $publicPrefix : string|DynamicPublicPrefixInterface
- $relativePath : string
Methods
- __construct() : mixed
- getIdentifier() : string
- getPublicPrefix() : DynamicPublicPrefixInterface|string
- getRelativePath() : string
- matches() : bool
Properties
$identifier
protected
string
$identifier
$publicPrefix
protected
string|DynamicPublicPrefixInterface
$publicPrefix
$relativePath
protected
string
$relativePath
Methods
__construct()
public
__construct(string $relativePath[, null|string|DynamicPublicPrefixInterface $publicPrefix = null ][, string|null $identifier = null ]) : mixed
Parameters
- $relativePath : string
- $publicPrefix : null|string|DynamicPublicPrefixInterface = null
- $identifier : string|null = null
getIdentifier()
public
getIdentifier() : string
Return values
stringgetPublicPrefix()
public
getPublicPrefix() : DynamicPublicPrefixInterface|string
Return values
DynamicPublicPrefixInterface|stringgetRelativePath()
public
getRelativePath() : string
Return values
stringmatches()
public
matches(string $relativePath) : bool
Parameters
- $relativePath : string