original_string: 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."
                  );
              }
          }
      }
code: 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."
                  );
              }
          }
      }
code_tokens: 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." ) ; } } }
docstring: 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
docstring_tokens: Checks the arguments set against the parameters set . Takes into account whether an argument is required to be passed or not .