kahlan\Scope::current PHP Method

current() public static method

Get the active scope instance.
public static current ( ) : Scope
return Scope The object instance or `null` if there's no active instance.
    public static function current()
    {
        return end(static::$_instances);
    }