SilverStripe\Sakemore\Commands\ConsoleRole
Provides an interactive PHP interface to the site.
Synopsis
class ConsoleRole
extends DataExtension
{
- // constants
- const CMD_CONSOLE = 'console';
- // methods
- public void commands()
- public void help_brief()
- public void help_parameters()
- public void help_examples()
- public void startConsole()
Hierarchy
Extends
- DataExtension
Tasks
Line | Task |
---|---|
32 | Add in how much bootstrapping to do. |
Constants
Name | Value |
---|---|
CMD_CONSOLE | 'console' |
Methods
public
- commands() — Tell sake more about this command.
- help_brief() — Gives sake a brief for the help section.
- help_examples() — Gives sake a list of examples of how to use this command.
- help_parameters() — Gives sake a list of the parameters used.
- startConsole() — Attempts to start a PHP console.