public function getNestedQueries()
    {
        $queries = [];
        foreach ($this->types as $scaffold) {
            $queries = array_merge($queries, $scaffold->getNestedQueries());
        }

        return $queries;
    }
public function getNestedQueries()
    {
        $queries = [];
        foreach ($this->types as $scaffold) {
            $queries = array_merge($queries, $scaffold->getNestedQueries());
        }

        return $queries;
    }
public function getNestedQueries ( ) { $ queries = [ ] ; foreach ( $ this -> types as $ scaffold ) { $ queries = array_merge ( $ queries , $ scaffold -> getNestedQueries ( ) ) ; } return $ queries ; }
Gets all nested queries for all types
@return array
Gets all nested queries for all types