Laravel 5: Finding What Traits a Class Uses With class_uses_recursive
The class_uses_recursive function is functional similar to the trait_uses_recursive function. It will return an array of all the traits that are used by the given class, its traits and any base classes.The signature of the class_uses_recursive...