public function checkCommandArguments()
    {
        foreach ($this->commandArguments as $index => $argument) {
            $argument->addParameters($this->arguments);

            if ($argument->isRequired() && !$argument->hasBeenProvided()) {
                throw new \Parable\Console\Exception(
                    "Required argument with index #{$index} '{$argument->getName()}' not provided."
                );
            }
        }
    }
public function checkCommandArguments()
    {
        foreach ($this->commandArguments as $index => $argument) {
            $argument->addParameters($this->arguments);

            if ($argument->isRequired() && !$argument->hasBeenProvided()) {
                throw new \Parable\Console\Exception(
                    "Required argument with index #{$index} '{$argument->getName()}' not provided."
                );
            }
        }
    }
public function checkCommandArguments ( ) { foreach ( $ this -> commandArguments as $ index => $ argument ) { $ argument -> addParameters ( $ this -> arguments ) ; if ( $ argument -> isRequired ( ) && ! $ argument -> hasBeenProvided ( ) ) { throw new \ Parable \ Console \ Exception ( "Required argument with index #{$index} '{$argument->getName()}' not provided." ) ; } } }
Checks the arguments set against the parameters set. Takes into account whether an argument is required
to be passed or not.

@throws \Parable\Console\Exception
Checks the arguments set against the parameters set . Takes into account whether an argument is required to be passed or not .