Classes helpers
List of functions that works for PHP classes.
Last updated
List of functions that works for PHP classes.
Last updated
Gets the namespace from class or object.
Similarly than PHP's but finding a specific interface implemented on the object or class given.
Similarly than PHP's but finding a specific trait used on the object or class given.
Call to the specified public method from class string or object with optional given arguments array.
Shortcut for `call` function used for call public static methods only.
This is specially useful to get types using PHP generics types. Otherwise PHP's or should be used instead.
Gets class string from object or class. Similarly to PHP's but this one handles whenever string is sent.