TractorCow\OpenGraph\InspectionTrait::implementsType
Determine if an object implements a specific interface, or has an extension which implements this
Signature
Parameters
$object
— object$type
— string- Type to inspect
Returns
- bool
- True if $object, or any of its extensions, is of type $type