ConfigurationStatus
readonly class \
- Implements
- StatusProviderInterface
Performs some checks about the install tool protection status
Table of Contents
Interfaces
- StatusProviderInterface
- Interface for classes which provide a status report entry.
Methods
- __construct() : mixed
- getLabel() : string
- Return label of this status
- getStatus() : Status[]
- Determines the Install Tool's status, mainly concerning its protection.
- getConfiguredMemcachedServers() : array
- Gets the configured memcached server connections.
- getCreatedDirectoriesWorldWritableStatus() : Status
- Warning, if folderCreateMask has write bit for 'others' set.
- getCreatedFilesWorldWritableStatus() : Status
- Warning, if fileCreateMask has write bit for 'others' set.
- getDeclaredCollations() : DeclaredCollations
- The expected schema is the one the schema migrator and the database analyzer work with: all ext_tables.sql files, enriched by DefaultTcaSchema. The enrichment matters here, since columns declared in TCA only - for instance "type => json" fields like tx_scheduler_task.parameters - are part of no ext_tables.sql.
- getLanguageService() : LanguageService
- getMemcachedConnectionStatus() : Status
- Checks whether TYPO3 can connect to the configured memcached servers.
- getMysqlDatabaseUtf8Status() : Status
- Checks the character set of the default database and reports an error if it is not utf-8.
- getReferenceIndexStatus() : Status
- Checks if sys_refindex is empty.
- isMemcachedUsed() : bool
- Checks whether memcached is configured, if that's the case we assume it's also used.
- isMysqlUsed() : bool
- Checks if the default connection is a MySQL compatible database instance.
Methods
__construct()
public
__construct(UriBuilder $uriBuilder, Registry $registry, ConnectionPool $connectionPool, SqlReader $sqlReader, SchemaMigrator $schemaMigrator) : mixed
Parameters
- $uriBuilder : UriBuilder
- $registry : Registry
- $connectionPool : ConnectionPool
- $sqlReader : SqlReader
- $schemaMigrator : SchemaMigrator
getLabel()
Return label of this status
public
getLabel() : string
Return values
stringgetStatus()
Determines the Install Tool's status, mainly concerning its protection.
public
getStatus() : Status[]
Return values
Status[]getConfiguredMemcachedServers()
Gets the configured memcached server connections.
protected
getConfiguredMemcachedServers() : array
Return values
array —An array of configured memcached server connections.
getCreatedDirectoriesWorldWritableStatus()
Warning, if folderCreateMask has write bit for 'others' set.
protected
getCreatedDirectoriesWorldWritableStatus() : Status
Return values
Status —The writable status for 'others'
getCreatedFilesWorldWritableStatus()
Warning, if fileCreateMask has write bit for 'others' set.
protected
getCreatedFilesWorldWritableStatus() : Status
Return values
Status —The writable status for 'others'
getDeclaredCollations()
The expected schema is the one the schema migrator and the database analyzer work with: all ext_tables.sql files, enriched by DefaultTcaSchema. The enrichment matters here, since columns declared in TCA only - for instance "type => json" fields like tx_scheduler_task.parameters - are part of no ext_tables.sql.
protected
getDeclaredCollations() : DeclaredCollations
Return values
DeclaredCollationsgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetMemcachedConnectionStatus()
Checks whether TYPO3 can connect to the configured memcached servers.
protected
getMemcachedConnectionStatus() : Status
Return values
Status —An object representing whether TYPO3 can connect to the configured memcached servers
getMysqlDatabaseUtf8Status()
Checks the character set of the default database and reports an error if it is not utf-8.
protected
getMysqlDatabaseUtf8Status() : Status
Return values
StatusgetReferenceIndexStatus()
Checks if sys_refindex is empty.
protected
getReferenceIndexStatus() : Status
Return values
Status —An object representing whether the reference index is empty or not
isMemcachedUsed()
Checks whether memcached is configured, if that's the case we assume it's also used.
protected
isMemcachedUsed() : bool
Return values
bool —TRUE if memcached is used, FALSE otherwise.
isMysqlUsed()
Checks if the default connection is a MySQL compatible database instance.
protected
isMysqlUsed() : bool