original_string: protected function getAllForeignKeysOrderedByTable()
      {
          $results = $this->dataBase->getAllForeignKeys();
          $results = ArrayHelpers::orderArrayByValue($results, 'TABLE_NAME');
  
          return $results;
      }
code: protected function getAllForeignKeysOrderedByTable()
      {
          $results = $this->dataBase->getAllForeignKeys();
          $results = ArrayHelpers::orderArrayByValue($results, 'TABLE_NAME');
  
          return $results;
      }
code_tokens: protected function getAllForeignKeysOrderedByTable ( ) { $ results = $ this -> dataBase -> getAllForeignKeys ( ) ; $ results = ArrayHelpers :: orderArrayByValue ( $ results , 'TABLE_NAME' ) ; return $ results ; }
docstring: Return an array with tables, with arrays of foreign keys.
  
  @return array|mixed
docstring_tokens: Return an array with tables with arrays of foreign keys .