Go\Aop\Framework\DeclareErrorInterceptor::serialize PHP Method

serialize() public method

Serializes an interceptor into string representation
public serialize ( ) : string
return string the string representation of the object or null
    public function serialize()
    {
        $vars = array_filter(get_object_vars($this));
        unset($vars['adviceMethod']);
        return serialize($vars);
    }