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