StaticInstanceInterface is the interface for providing static instances to classes, which can be used to obtain class meta information that can not be expressed in static methods.
For example: adjustments made by DI or behaviors reveal only at object level, but might be needed at class (static) level as well.
See also yii\base\StaticInstanceTrait.
|instance()||Returns static class instance, which can be used to obtain meta information.||yii\base\StaticInstanceInterface|
Returns static class instance, which can be used to obtain meta information.
|public abstract static static instance ( $refresh = false )|
Whether to re-create static instance even, if it is already cached.
public static function instance($refresh = false);