public function defineModelClasses($modelClasses = [])
    {
        $this->modelMap = ArrayHelper::merge(
            $this->getDefaultModels(),
            $this->modelMap,
            $modelClasses
        );
    }
public function defineModelClasses($modelClasses = [])
    {
        $this->modelMap = ArrayHelper::merge(
            $this->getDefaultModels(),
            $this->modelMap,
            $modelClasses
        );
    }
public function defineModelClasses ( $ modelClasses = [ ] ) { $ this -> modelMap = ArrayHelper :: merge ( $ this -> getDefaultModels ( ) , $ this -> modelMap , $ modelClasses ) ; }
Merges the default and user defined model classes
Also let's the developer to set new ones with the
parameter being those the ones with most preference.

@param array $modelClasses
Merges the default and user defined model classes Also let s the developer to set new ones with the parameter being those the ones with most preference .