src/Clapp/CommandLineArgumentDefinition.php
public function getDescription($name)
    {
        if (!$this->isParsed) {
            $this->parseDefinitions();
        } //if

        $longName = (strlen($name) == 1 ? ( isset($this->shortNames[$name]) ? $this->shortNames[$name] : '') : $name);

        if (isset($this->longNames[$longName])) {
            return $this->longNames[$longName]['description'];
        } else {
            return null;
        } //if
    }
public function getDescription($name)
    {
        if (!$this->isParsed) {
            $this->parseDefinitions();
        } //if

        $longName = (strlen($name) == 1 ? ( isset($this->shortNames[$name]) ? $this->shortNames[$name] : '') : $name);

        if (isset($this->longNames[$longName])) {
            return $this->longNames[$longName]['description'];
        } else {
            return null;
        } //if
    }
public function getDescription ( $ name ) { if ( ! $ this -> isParsed ) { $ this -> parseDefinitions ( ) ; } //if $ longName = ( strlen ( $ name ) == 1 ? ( isset ( $ this -> shortNames [ $ name ] ) ? $ this -> shortNames [ $ name ] : '' ) : $ name ) ; if ( isset ( $ this -> longNames [ $ longName ] ) ) { return $ this -> longNames [ $ longName ] [ 'description' ] ; } else { return null ; } //if }
retreive description of a paramter

@author Patrick Forget <patforg at webtrendi.com>

@param string $name either short or long name of the parameter to check

@return string description or null if it doesn't exist
retreive description of a paramter