\Dephpug\CommandSetValueCommand

Abstract class that inherit for all commands in Dephpugger

Every command is a class that have Dephpug\Command as a inherit that receive the $core and must create methods getRegexp, description and anothers in interface iCommand and iCore.

Summary

Methods
Properties
Constants
setCore()
match()
getBigDescription()
getName()
getShortDescription()
getDescription()
getAlias()
getRegexp()
exec()
$level
$core
$match
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$level

$level : 

The order to run commands asc. Level 1 run first than Level 2

Type

$core

$core : 

The core instance with all attributes

Type

$match

$match : 

Regex to match command

Type

Methods

setCore()

setCore(\Dephpug\obj  $core) : void

Method to set core as a pointer to control the same instance

Parameters

\Dephpug\obj $core
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

match()

match(string  $command) : void

Method to check if match a command with this object and instantiate the attribute $this->match with regexp values

Parameters

string $command
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

getBigDescription()

getBigDescription() : string

Get the big description using method getName and getAlias to describe the full info of this one

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Returns

string

getName()

getName() : string

Get the name of the command

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Returns

string —

Indicates the name of the command

getShortDescription()

getShortDescription() 

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

getDescription()

getDescription() 

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

getAlias()

getAlias() 

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

getRegexp()

getRegexp() 

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

exec()

exec() 

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293