get() public method
Returns an instance of the requested class. You may provide constructor parameters ($params) and object configurations ($config) that will be used during the creation of the instance. If the class implements yii\base\Configurable, the $config parameter will be passed as the last parameter to the class constructor; Otherwise, the configuration will be applied after the object is instantiated. Note that if the class is declared to be singleton by calling setSingleton(), th