original_string: public function addOptionalResource($resource, $prefix = null)
      {
          $this->resources[] = [$resource, $prefix, false];
  
          return $this;
      }
code: public function addOptionalResource($resource, $prefix = null)
      {
          $this->resources[] = [$resource, $prefix, false];
  
          return $this;
      }
code_tokens: public function addOptionalResource ( $ resource , $ prefix = null ) { $ this -> resources [ ] = [ $ resource , $ prefix , false ] ; return $ this ; }
docstring: Add an optional resource to load configuration values from.
  
  @param mixed       $resource
  @param string|null $prefix   The prefix to give the values, if any
docstring_tokens: Add an optional resource to load configuration values from .