public static isHooked ( string $method, Wire $instance = null ) : boolean | ||
$method | string | Method or property name in one of the following formats: Class::method() Class::property method() property |
$instance | Wire | Optional instance to check against (see hasHook method for details) Note that if specifying an $instance, you may not use the Class::method() or Class::property options for $method argument. |
return | boolean |