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

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

        if (isset($this->longNames[$longName]['parameterType'])
            && $this->longNames[$longName]['parameterType'] !== false) {
            return $this->longNames[$longName]['parameterType'];
        } else {
            return '';
        } //if
    }
public function getValueType($name)
    {
        if (!$this->isParsed) {
            $this->parseDefinitions();
        } //if

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

        if (isset($this->longNames[$longName]['parameterType'])
            && $this->longNames[$longName]['parameterType'] !== false) {
            return $this->longNames[$longName]['parameterType'];
        } else {
            return '';
        } //if
    }
public function getValueType ( $ name ) { if ( ! $ this -> isParsed ) { $ this -> parseDefinitions ( ) ; } //if $ longName = ( strlen ( $ name ) == 1 ? ( isset ( $ this -> shortNames [ $ name ] ) ? $ this -> shortNames [ $ name ] : '' ) : $ name ) ; if ( isset ( $ this -> longNames [ $ longName ] [ 'parameterType' ] ) && $ this -> longNames [ $ longName ] [ 'parameterType' ] !== false ) { return $ this -> longNames [ $ longName ] [ 'parameterType' ] ; } else { return '' ; } //if }
returns the type of value allowed

@author Patrick Forget <patforg at webtrendi.com>
returns the type of value allowed