FakeSystemChecker
extends SystemChecker
in package
A SystemChecker fake for automated testing
Tags
Table of Contents
Methods
- __construct() : mixed
- checkExtension() : bool
- checkGdFreetype() : bool
- checkGdPng() : bool
- checkPlugin() : bool
- checkVersion() : bool
- checkWritability() : bool
Methods
__construct()
public
__construct([bool $success = false ]) : mixed
Parameters
- $success : bool = false
checkExtension()
public
checkExtension(string $extension) : bool
Parameters
- $extension : string
Return values
boolcheckGdFreetype()
public
checkGdFreetype() : bool
Return values
boolcheckGdPng()
public
checkGdPng() : bool
Return values
boolcheckPlugin()
public
checkPlugin(string $plugin[, string|null $version = null ]) : bool
Parameters
- $plugin : string
- $version : string|null = null
Return values
boolcheckVersion()
public
checkVersion(string $actual, string $minimum) : bool
Parameters
- $actual : string
- $minimum : string
Return values
boolcheckWritability()
public
checkWritability(string $path) : bool
Parameters
- $path : string