class Uses (View source)

Methods

static 
classUsesRecursive(object|string $class)

Ported from illuminate/support to prevent package collisions.

static array|bool
traitUsesRecursive(object|string $trait)

Ported from illuminate/support to prevent package collisions.

Details

static classUsesRecursive(object|string $class)

Ported from illuminate/support to prevent package collisions.

static array|bool traitUsesRecursive(object|string $trait)

Ported from illuminate/support to prevent package collisions.

Parameters

object|string $trait

Return Value

array|bool

See also

https://github.com/laravel/framework/blob/10.x/src/Illuminate/Support/helpers.php#L364