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.
phpcommandline/Argument/Parser/StringParser.class.php

26 lines
477 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 {
/**
* @inheritDoc
*/
public function parseValue ($arg) {
return $arg;
}
/**
* @inheritDoc
*/
public function getValueDescription () {
return 'string';
}
}