Elgg\Database\SubtypeTableTest::setupFetchAllQuery PHP Method

setupFetchAllQuery() public method

public setupFetchAllQuery ( )
    public function setupFetchAllQuery()
    {
        $dbprefix = elgg_get_config('dbprefix');
        $this->db->addQuerySpec(['sql' => "SELECT * FROM {$dbprefix}entity_subtypes", 'results' => [$this, 'fetchAllResults']]);
    }