Descriptor.php
public function getInputArgumentsSynopsis(definitions\Arguments $definitions, array $options = null)
    {
        if ($definitions->isEmpty()) {
            return '';
        }

        $items = [];

        /** @var input\Argument $argument */
        foreach ($definitions as $argument) {
            $items[] = $this->getInputArgumentSynopsis($argument, $options);
        }

        return implode(' ', $items);
    }
public function getInputArgumentsSynopsis(definitions\Arguments $definitions, array $options = null)
    {
        if ($definitions->isEmpty()) {
            return '';
        }

        $items = [];

        /** @var input\Argument $argument */
        foreach ($definitions as $argument) {
            $items[] = $this->getInputArgumentSynopsis($argument, $options);
        }

        return implode(' ', $items);
    }
public function getInputArgumentsSynopsis ( definitions \ Arguments $ definitions , array $ options = null ) { if ( $ definitions -> isEmpty ( ) ) { return '' ; } $ items = [ ] ; /** @var input\Argument $argument */ foreach ( $ definitions as $ argument ) { $ items [ ] = $ this -> getInputArgumentSynopsis ( $ argument , $ options ) ; } return implode ( ' ' , $ items ) ; }
Provides a synopsis for the given Input Argument Definitions.

@param   definitions\Arguments   $definitions    The Input Argument Definitions to provide a synopsis for.
@param   array                   $options        Additional options to be considered by the Descriptor.
@return  mixed
Provides a synopsis for the given Input Argument Definitions .