original_string: public function setArguments(array $array = array())
      {
          foreach ($array as $arg) {
              if (!is_scalar($arg)) {
                  $type = gettype($arg);
                  throw new DomainException("Arguments array should be an array of scalar, but found $type");
              }
              $this->addArgument($arg);
          }
  
          return $this;
      }
code: public function setArguments(array $array = array())
      {
          foreach ($array as $arg) {
              if (!is_scalar($arg)) {
                  $type = gettype($arg);
                  throw new DomainException("Arguments array should be an array of scalar, but found $type");
              }
              $this->addArgument($arg);
          }
  
          return $this;
      }
code_tokens: public function setArguments ( array $ array = array ( ) ) { foreach ( $ array as $ arg ) { if ( ! is_scalar ( $ arg ) ) { $ type = gettype ( $ arg ) ; throw new DomainException ( "Arguments array should be an array of scalar, but found $type" ) ; } $ this -> addArgument ( $ arg ) ; } return $ this ; }
docstring: Set the Directive's arguments
  
  @param array $array [required] An array of string arguments
  @return $this
  @throws DomainException
docstring_tokens: Set the Directive s arguments