src/generators/model/Generator.php
protected function generateQueryClassName($modelClassName)
    {
        $queryClassName = $this->queryClass;
        if (empty($queryClassName) || strpos($this->tableName, '*') !== false) {
            $queryClassName = $modelClassName . 'Query';
        }
        return $queryClassName;
    }
protected function generateQueryClassName($modelClassName)
    {
        $queryClassName = $this->queryClass;
        if (empty($queryClassName) || strpos($this->tableName, '*') !== false) {
            $queryClassName = $modelClassName . 'Query';
        }
        return $queryClassName;
    }
protected function generateQueryClassName ( $ modelClassName ) { $ queryClassName = $ this -> queryClass ; if ( empty ( $ queryClassName ) || strpos ( $ this -> tableName , '*' ) !== false ) { $ queryClassName = $ modelClassName . 'Query' ; } return $ queryClassName ; }
Generates a query class name from the specified model class name.
@param string $modelClassName model class name
@return string generated class name
Generates a query class name from the specified model class name .