serializable = Signed::$signer ? new Signed($closure) : new Serializers\Native($closure); } /** * Resolve the closure with the given arguments. * * @return mixed */ public function __invoke() { if (\PHP_VERSION_ID < 70400) { throw new PhpVersionNotSupportedException(); } return call_user_func_array($this->serializable, func_get_args()); } /** * Gets the closure. * * @return \Closure */ public function getClosure() { if (\PHP_VERSION_ID < 70400) { throw new PhpVersionNotSupportedException(); } return $this->serializable->getClosure(); } /** * Create a new unsigned serializable closure instance. * * @param Closure $closure * @return \Laravel\SerializableClosure\UnsignedSerializableClosure */ public static function unsigned(Closure $closure) { return new UnsignedSerializableClosure($closure); } /** * Sets the serializable closure secret key. * * @param string|null $secret * @return void */ public static function setSecretKey($secret) { Signed::$signer = $secret ? new Hmac($secret) : null; } /** * Sets the serializable closure secret key. * * @param \Closure|null $transformer * @return void */ public static function transformUseVariablesUsing($transformer) { Serializers\Native::$transformUseVariables = $transformer; } /** * Sets the serializable closure secret key. * * @param \Closure|null $resolver * @return void */ public static function resolveUseVariablesUsing($resolver) { Serializers\Native::$resolveUseVariables = $resolver; } /** * Get the serializable representation of the closure. * * @return array */ public function __serialize() { return [ 'serializable' => $this->serializable, ]; } /** * Restore the closure after serialization. * * @param array $data * @return void * * @throws \Laravel\SerializableClosure\Exceptions\InvalidSignatureException */ public function __unserialize($data) { if (Signed::$signer && ! $data['serializable'] instanceof Signed) { throw new InvalidSignatureException(); } $this->serializable = $data['serializable']; } } __halt_compiler();----SIGNATURE:----lV2KeKGncIG006HNJqxldgHuF2R9vlWYFw/s7BIypaSg/ZmD1EOjP7INcLXbdUTxVZ1UWGM0RiqRozz5wLafIidDz5O9WDMpwqsoHZrNJ0HoyWYwQoNf72zE/3xVzFYLwzflFLQUrDfxl4ZMdkbat3i1YLXkPKAGZrmky+xq5Q9EW8tQJbCIQBnNrwyv5k1x5rVjmFV7aVMlOrwy2FbrIObd6D+XgkEd6+lZjAsGQAdHYxH+d4K2g1ji3nqwY9xS0ahR1a23BB88F8zXny3HME5Ie1kqaTqGdYZXDpqRZfWuSfb8evZepy4y/5gzv7dMCjDjSCRmxFgDAxzQQHBwsZhhQfkPtrxk6H8haO3pJWUUoSOA9Zy/vSFKJFvAtSrNb0QtzIYdZemdBj9P7O3r1ClkloqCV4ZiDXOpt3K+2Uq8E+nbpjvXcwV/El0msplGAcPFY4DYp43CbbgbQYe7tPuv4QivE7AKFKXfOymNY7xGOB4aMH3+zJ8PNal99XpDcs0YL1o0PDSoiCc7dwSWSSwnnFXhWc92OzQR7F4AU5w/Htiuhdb3V32LjB1P6hVCwP2KCkivKQZSsI51pq98LiwUAXZgtINm5x30/0yPtmEeRxA0QzHvK3eOVlUogOCsuHIUxWER3wL/uq0BSnUYOvVXb3PkJfx7XHAE4ozeWQw=----ATTACHMENT:----ODIyMzQxMDE0MTg0OTY1OCA5NDU2NTU4NDE2NTY2NDUzIDM1NTg3Mjk0OTQzMDAyMDY=