original_string: protected function set_options( array $options = [ ] ) {
  
  		foreach ( $options as $key => $value ) {
  			if ( ! array_key_exists( $key, $this->options ) ) {
  				throw new \InvalidArgumentException(
  					sprintf( 'The option "%1$s" does not have a matching option[%1$s] array key', $key ),
  					1.0
  				);
  				continue;
  			}
  
  			$this->options[ $key ] = $value;
  		}
  	}
code: protected function set_options( array $options = [ ] ) {
  
  		foreach ( $options as $key => $value ) {
  			if ( ! array_key_exists( $key, $this->options ) ) {
  				throw new \InvalidArgumentException(
  					sprintf( 'The option "%1$s" does not have a matching option[%1$s] array key', $key ),
  					1.0
  				);
  				continue;
  			}
  
  			$this->options[ $key ] = $value;
  		}
  	}
code_tokens: protected function set_options ( array $ options = [ ] ) { foreach ( $ options as $ key => $ value ) { if ( ! array_key_exists ( $ key , $ this -> options ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The option "%1$s" does not have a matching option[%1$s] array key' , $ key ) , 1.0 ) ; continue ; } $ this -> options [ $ key ] = $ value ; } }
docstring: Setting the given options from constructor.
  
  @param array $options
  
  @throws \InvalidArgumentException if the given option is not available to overwrite.
docstring_tokens: Setting the given options from constructor .