original_string: public function getDataSource($name)
      {
          if (false === $this->hasDataSource($name)) {
              throw new \RuntimeException(sprintf('Data source: "%s" not found.', $name));
          }
  
          return $this->dataSources[$name];
      }
code: public function getDataSource($name)
      {
          if (false === $this->hasDataSource($name)) {
              throw new \RuntimeException(sprintf('Data source: "%s" not found.', $name));
          }
  
          return $this->dataSources[$name];
      }
code_tokens: public function getDataSource ( $ name ) { if ( false === $ this -> hasDataSource ( $ name ) ) { throw new \ RuntimeException ( sprintf ( 'Data source: "%s" not found.' , $ name ) ) ; } return $ this -> dataSources [ $ name ] ; }
docstring: Gets a data source.
  
  @return \Yosymfony\Spress\Core\DataSource\AbstractDataSource
  
  @throws \RuntimeException If data source not found
docstring_tokens: Gets a data source .