original_string: protected function _methods($key, $scope) {
          return $this->cache($key, function() use ($scope) {
              $methods = [];
  
              foreach ($this->reflection()->getMethods($scope) as $method) {
                  $methods[] = $method->getName();
              }
  
              return $methods;
          });
      }
code: protected function _methods($key, $scope) {
          return $this->cache($key, function() use ($scope) {
              $methods = [];
  
              foreach ($this->reflection()->getMethods($scope) as $method) {
                  $methods[] = $method->getName();
              }
  
              return $methods;
          });
      }
code_tokens: protected function _methods ( $ key , $ scope ) { return $ this -> cache ( $ key , function ( ) use ( $ scope ) { $ methods = [ ] ; foreach ( $ this -> reflection ( ) -> getMethods ( $ scope ) as $ method ) { $ methods [ ] = $ method -> getName ( ) ; } return $ methods ; } ) ; }
docstring: Return an array of methods for the defined scope.
  
  @param string $key
  @param int $scope
  @return string[]
docstring_tokens: Return an array of methods for the defined scope .