EDD_Stripe_Utils_Exceptions_Attribute_Not_Found::from_attr( string $attribute_name, string $collection, int $code = null, Exception $previous = null )
Retrieves an informed Attribute_Not_Found instance via late-static binding.
Description Description
Parameters Parameters
- $attribute_name
-
(Required) Attribute resulting in the exception.
- $collection
-
(Required) Collection the attribute belongs to.
- $code
-
(Optional) Exception code.
Default value: null
- $previous
-
(Optional) Previous exception (used for chaining).
Default value: null
Return Return
(EDD_Stripe_Exceptions_Attribute_Not_Found) Exception instance.
Source Source
File: includes/gateways/stripe/includes/utils/exceptions/class-attribute-not-found.php
Changelog Changelog
Version | Description |
---|---|
2.6.19 | Introduced. |