SilverCart\Admin\Dev\Tasks\PHPInfoTask
Provides a task to show the phpinfo() output.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class PHPInfoTask
extends BuildTask
{
- // members
- private static string $segment = 'phpinfo';
- protected string $title = 'PHP Info Task';
- protected string $description = 'Task to show the PHP info output.';
- // methods
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $segment
—
string
Set a custom url segment (to follow dev/tasks/)
protected
- $description
—
string
Describe the implications the task has, and the changes it makes. Accepts HTML formatting. - $title
—
string
Shown in the overview on the {@link TaskRunner}.
Methods
public
- run() — Runs this task.