Type checking

Resolver also provide 3 useful methods for type checking.

Is class

public static bool isClass(mixed $value)

Is method

public static bool isMethod(mixed $value)

Is function

public static bool isFunction(mixed $value)

results matching ""

    No results matching ""