original_string: protected function initiatePools ()
      {
          foreach ($this->configuration['pools'] as $name => $poolConfiguration) {
              // Try to get the driver class. Will throw an exception if not exists.
              new \ReflectionClass($poolConfiguration['driver']);
  
              $options = $poolConfiguration['options'];
  
              /** @var DriverInterface $driverInstance */
              $driverInstance = new $poolConfiguration['driver']($options);
  
              $poolInstance = new Pool($driverInstance, $name);
  
              // Register in the local instance holding variable.
              $this->pools[$name] = $poolInstance;
          }
      }
code: protected function initiatePools ()
      {
          foreach ($this->configuration['pools'] as $name => $poolConfiguration) {
              // Try to get the driver class. Will throw an exception if not exists.
              new \ReflectionClass($poolConfiguration['driver']);
  
              $options = $poolConfiguration['options'];
  
              /** @var DriverInterface $driverInstance */
              $driverInstance = new $poolConfiguration['driver']($options);
  
              $poolInstance = new Pool($driverInstance, $name);
  
              // Register in the local instance holding variable.
              $this->pools[$name] = $poolInstance;
          }
      }
code_tokens: protected function initiatePools ( ) { foreach ( $ this -> configuration [ 'pools' ] as $ name => $ poolConfiguration ) { // Try to get the driver class. Will throw an exception if not exists. new \ ReflectionClass ( $ poolConfiguration [ 'driver' ] ) ; $ options = $ poolConfiguration [ 'options' ] ; /** @var DriverInterface $driverInstance */ $ driverInstance = new $ poolConfiguration [ 'driver' ] ( $ options ) ; $ poolInstance = new Pool ( $ driverInstance , $ name ) ; // Register in the local instance holding variable. $ this -> pools [ $ name ] = $ poolInstance ; } }
docstring: Initiate Pools.
docstring_tokens: Initiate Pools .