WC_Shipping_Method::supports PHP Method

supports() public method

Methods should override this to declare support (or lack of support) for a feature.
public supports ( $feature ) : boolean
$feature string The name of a feature to test support for.
return boolean True if the shipping method supports the feature, false otherwise.
    public function supports($feature)
    {
        return apply_filters('woocommerce_shipping_method_supports', in_array($feature, $this->supports), $feature, $this);
    }