Mongolid\Container\Ioc::__callStatic PHP 메소드

__callStatic() 공개 정적인 메소드

Handle dynamic, static calls to the object.
public static __callStatic ( string $method, array $args ) : mixed
$method string Method that is being called.
$args array Method arguments.
리턴 mixed
    public static function __callStatic(string $method, array $args)
    {
        $instance = static::$container;
        return $instance->{$method}(...$args);
    }