src/ORM/DataObjectSchema.php
protected function cacheDatabaseIndexes($class)
    {
        if (!array_key_exists($class, $this->databaseIndexes)) {
            $this->databaseIndexes[$class] = array_merge(
                $this->buildSortDatabaseIndexes($class),
                $this->cacheDefaultDatabaseIndexes($class),
                $this->buildCustomDatabaseIndexes($class)
            );
        }
    }
protected function cacheDatabaseIndexes($class)
    {
        if (!array_key_exists($class, $this->databaseIndexes)) {
            $this->databaseIndexes[$class] = array_merge(
                $this->buildSortDatabaseIndexes($class),
                $this->cacheDefaultDatabaseIndexes($class),
                $this->buildCustomDatabaseIndexes($class)
            );
        }
    }
protected function cacheDatabaseIndexes ( $ class ) { if ( ! array_key_exists ( $ class , $ this -> databaseIndexes ) ) { $ this -> databaseIndexes [ $ class ] = array_merge ( $ this -> buildSortDatabaseIndexes ( $ class ) , $ this -> cacheDefaultDatabaseIndexes ( $ class ) , $ this -> buildCustomDatabaseIndexes ( $ class ) ) ; } }
Cache all indexes for the given class. Will do nothing if already cached.

@param $class
Cache all indexes for the given class . Will do nothing if already cached .