Skip to content

v13.6.0

@browner12 browner12 tagged this 30 Mar 19:00
the `class_uses_recursive()` function returns an array where both the key and the value are the fully qualified class name, so an `array_flip` returns exactly what it was given.

```php
$results = class_uses_recursive(User::class);

dd($results === array_flip($results));  //true
```
Assets 2
Loading