trait_exists
Laatst bijgewerkt:
trait_exists
Checks if the trait exists
bool **trait_exists** string $trait bool $autoload
traitName of the trait to check
autoload
Whether to
if not already loaded.
autoload
Returns true if trait exists, and false otherwise.