VersionPress\Database\DbSchemaInfo::getAllEntityNames PHP 메소드

getAllEntityNames() 공개 메소드

Gets all entities defined by the schema
public getAllEntityNames ( ) : array
리턴 array
    public function getAllEntityNames()
    {
        return array_keys($this->schema);
    }

Usage Example

예제 #1
0
 public static function assertFilesEqualDatabase()
 {
     HookMock::setUp(HookMock::TRUE_HOOKS);
     self::staticInitialization();
     $entityNames = self::$schemaInfo->getAllEntityNames();
     foreach ($entityNames as $entityName) {
         self::assertEntitiesEqualDatabase($entityName);
     }
     self::clearGlobalVariables();
     HookMock::tearDown();
 }
All Usage Examples Of VersionPress\Database\DbSchemaInfo::getAllEntityNames