public function getFirstArgument()
    {
        foreach ($this->argv as $value) {
            if ($value && '-' === $value[0]) {
                continue;
            }

            return $value;
        }

        return isset($this->definition->getDefaultInputArguments()[0]) ?
            $this->definition->getDefaultInputArguments()[0]->getDefault() : false;
    }
public function getFirstArgument()
    {
        foreach ($this->argv as $value) {
            if ($value && '-' === $value[0]) {
                continue;
            }

            return $value;
        }

        return isset($this->definition->getDefaultInputArguments()[0]) ?
            $this->definition->getDefaultInputArguments()[0]->getDefault() : false;
    }
public function getFirstArgument ( ) { foreach ( $ this -> argv as $ value ) { if ( $ value && '-' === $ value [ 0 ] ) { continue ; } return $ value ; } return isset ( $ this -> definition -> getDefaultInputArguments ( ) [ 0 ] ) ? $ this -> definition -> getDefaultInputArguments ( ) [ 0 ] -> getDefault ( ) : false ; }
get first argument

@return string|null
get first argument