original_string: protected function _initScopes()
      {
          foreach ((array)$this->config('queryScope') as $className) {
              if (!empty($this->_queryScopes[$className])) {
                  continue;
              }
  
              if (class_exists($className)) {
                  $instance = new $className($this->_table);
                  if ($instance instanceof QueryScopeInterface) {
                      $this->_queryScopes[$className] = $instance;
                  }
              }
          }
      }
code: protected function _initScopes()
      {
          foreach ((array)$this->config('queryScope') as $className) {
              if (!empty($this->_queryScopes[$className])) {
                  continue;
              }
  
              if (class_exists($className)) {
                  $instance = new $className($this->_table);
                  if ($instance instanceof QueryScopeInterface) {
                      $this->_queryScopes[$className] = $instance;
                  }
              }
          }
      }
code_tokens: protected function _initScopes ( ) { foreach ( ( array ) $ this -> config ( 'queryScope' ) as $ className ) { if ( ! empty ( $ this -> _queryScopes [ $ className ] ) ) { continue ; } if ( class_exists ( $ className ) ) { $ instance = new $ className ( $ this -> _table ) ; if ( $ instance instanceof QueryScopeInterface ) { $ this -> _queryScopes [ $ className ] = $ instance ; } } } }
docstring: Initializes the scope objects
  
  @return void
docstring_tokens: Initializes the scope objects