original_string: public function getPool ($name = 'default')
      {
          if (isset($this->pools[$name])) {
              return $this->pools[$name];
          }
          throw new NotFoundException('Caching Pool not found with given name \''.$name.'\'');
      }
code: public function getPool ($name = 'default')
      {
          if (isset($this->pools[$name])) {
              return $this->pools[$name];
          }
          throw new NotFoundException('Caching Pool not found with given name \''.$name.'\'');
      }
code_tokens: public function getPool ( $ name = 'default' ) { if ( isset ( $ this -> pools [ $ name ] ) ) { return $ this -> pools [ $ name ] ; } throw new NotFoundException ( 'Caching Pool not found with given name \'' . $ name . '\'' ) ; }
docstring: Get pool instance.
  
  @param string $name
  @return Pool
  
  @throws NotFoundException
docstring_tokens: Get pool instance .