original_string: public function normalize(Schema $schema): array
      {
          $this->schema = $schema;
          $schemaDesc = [];
          $schemaDesc['tables'] = [];
          foreach ($schema->getTables() as $table) {
              $schemaDesc['tables'][$table->getName()] = $this->normalizeTable($table);
          }
          return $schemaDesc;
      }
code: public function normalize(Schema $schema): array
      {
          $this->schema = $schema;
          $schemaDesc = [];
          $schemaDesc['tables'] = [];
          foreach ($schema->getTables() as $table) {
              $schemaDesc['tables'][$table->getName()] = $this->normalizeTable($table);
          }
          return $schemaDesc;
      }
code_tokens: public function normalize ( Schema $ schema ) : array { $ this -> schema = $ schema ; $ schemaDesc = [ ] ; $ schemaDesc [ 'tables' ] = [ ] ; foreach ( $ schema -> getTables ( ) as $ table ) { $ schemaDesc [ 'tables' ] [ $ table -> getName ( ) ] = $ this -> normalizeTable ( $ table ) ; } return $ schemaDesc ; }
docstring: Normalize a Schema object into an array descriptor
  @param Schema $schema
  @return array
docstring_tokens: Normalize a Schema object into an array descriptor