OperatorTrait
trait OperatorTrait
Methods
{@inheritDoc}
Magic method for dictating how objects are rendered when var_dump is called.
Magic method which intercepts async calls, finds the sequential version, and wraps it in a
{see Promise} object. In order for this to happen, the called methods need to be in the
following format: createAsync
, where create
is the sequential method being wrapped.
{@inheritdoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Details
__debugInfo()
Magic method for dictating how objects are rendered when var_dump is called.
For the benefit of users, extremely verbose and heavy properties (such as HTTP clients) are removed to provide easier access to normal state, such as resource attributes.
__call($methodName, $args)
Magic method which intercepts async calls, finds the sequential version, and wraps it in a
{see Promise} object. In order for this to happen, the called methods need to be in the
following format: createAsync
, where create
is the sequential method being wrapped.