TcDefault
extends Tc
in package
This is the TcDefault (default theme configuration) class.
The purpose of this class is to represent a default theme configuration.
This class extends FWK\Core\Theme\Tc, see this class.
Tags
Table of Contents
$configuration | : Configuration|null | |
---|---|---|
getConfiguration() | This method returns the 'theme configuration' data, encapsulated in a Configuration object. | : Configuration |
getConfigurationData() | This method returns the 'theme configuration' data, in array format. | : array<string|int, mixed> |
runForbiddenResponse() | This method runs the Response::redirect() method with the corresponding parameters based on the corresponding definition for the given routeType (that is defined in the self::FORBIDDEN_RESPONSE_ACTIONS constant). | : void |
Properties
$configuration
protected
static Configuration|null
$configuration
= null
Methods
getConfiguration()
This method returns the 'theme configuration' data, encapsulated in a Configuration object.
public
getConfiguration() : Configuration
Tags
Return values
Configuration —getConfigurationData()
This method returns the 'theme configuration' data, in array format.
public
getConfigurationData() : array<string|int, mixed>
Return values
array<string|int, mixed> —runForbiddenResponse()
This method runs the Response::redirect() method with the corresponding parameters based on the corresponding definition for the given routeType (that is defined in the self::FORBIDDEN_RESPONSE_ACTIONS constant).
public
runForbiddenResponse(string $routeType) : void
Parameters
- $routeType : string