| 1 | <?php |
||
| 14 | class System implements HandlerInterface |
||
|
|
|||
| 15 | { |
||
| 16 | private $output_allowed = true; |
||
| 17 | |||
| 18 | 8 | public function __construct() |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @return bool |
||
| 25 | */ |
||
| 26 | 4 | public function initialize() |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Writes to the configured PHP error logger. |
||
| 35 | * |
||
| 36 | * @see error_log() |
||
| 37 | * |
||
| 38 | * @param string $message Message to be written to PHP's system log |
||
| 39 | * @return bool Returns the status from the error_log function |
||
| 40 | */ |
||
| 41 | 9 | public function write($message) |
|
| 51 | |||
| 52 | 2 | public function suppressOutput() |
|
| 56 | |||
| 57 | 1 | public function allowOutput() |
|
| 61 | } |
||
| 62 |
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString.