original_string: public function checkScope($name, $strict = false)
    {
        if (!$this->hasScope($name, $strict)) {
            throw new Exceptions\OutOfScopeException("Scope $name is not registered!");
        }
    }
code: public function checkScope($name, $strict = false)
    {
        if (!$this->hasScope($name, $strict)) {
            throw new Exceptions\OutOfScopeException("Scope $name is not registered!");
        }
    }
code_tokens: public function checkScope ( $ name , $ strict = false ) { if ( ! $ this -> hasScope ( $ name , $ strict ) ) { throw new Exceptions \ OutOfScopeException ( "Scope $name is not registered!" ) ; } }
docstring: Checks if scope is registered
  Throws an exception if scope doesn't exist.
  
  @param  string $name   Scope name
  @param  bool $strict
  
  @return void
docstring_tokens: Checks if scope is registered Throws an exception if scope doesn t exist .