You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
426 B
PHP
20 lines
426 B
PHP
<?php
|
|
/**
|
|
* Déclaration de la classe CommandLine\Argument\Parser\StringParser
|
|
*/
|
|
namespace CommandLine\Argument\Parser;
|
|
|
|
/**
|
|
* Parseur vers une chaine de caractères
|
|
*
|
|
* @package CommandLine\Argument\Parser
|
|
*/
|
|
class StringParser implements IValueParser {
|
|
public function parseValue ($arg) {
|
|
return $arg;
|
|
}
|
|
|
|
public function getValueDescription () {
|
|
return 'string';
|
|
}
|
|
} |