Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
lithium
tests
mocks
console
command
MockCommandHelp
sampleTaskWithOptionalArgs
lithium\tests\mocks\console\command\MockCommandHelp::sampleTaskWithOptionalArgs PHP Méthode
MockCommandHelp Class Documentation
Afficher le fichier
Open project: unionofrad/lithium
sampleTaskWithOptionalArgs()
public
méthode
This is a task with optional args.
public
sampleTaskWithOptionalArgs
(
string
$arg1
= null,
string
$arg2
= null ) :
boolean
$arg1
string
$arg2
string
Résultat
boolean
public function sampleTaskWithOptionalArgs($arg1 = null, $arg2 = null) { return true; }
MockCommandHelp
_sampleHelper
run
sampleTaskWithOptionalArgs
sampleTaskWithRequiredArgs