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:----vU2ULIjUYs5J4DrEiqBn0p9ACEc0vpTXEzfYLJ9eEWk65CCPbDJauVz3Gho8IagwSWqQXso5ngH0jJZ45FLkhb5DdI1RHqZYThOjTWZC5xHm29Gebqxa5s5J41Y5W9npQxAt8qxih3njw1ZHYHfPFb4HXGb/6FEg8j2SQKRF2hna2hozrvGhThky7TZ6OBjV1DYj910jq+uDPeDRFfMYDnD+SE6YiTlrexb+XMf3CccFD7Fa/o7psT8fI0S/La4i53XIOnqzRDg225Eqqtt24pYYAcw1Yp0bK1/4drjy+ll9fccs4iWm4+8jvXVc5YXI1e8o1/boUgePl5suTJDjLLhcatY7wa/44Mztr8Z+7Zud+cgKJDrt5JyircFAHO+v/f2x5B17LVBxCcMk6DCjPD7qzbqucZaEU0NBG67lv6cg4DSHn9Gp/Ui3UQU4MBcgGziYfvVEc4LcUJaLHkSTZ5KFqv0ZOt4a256Xhs0Rp0wOf9nvjr/XDnc6nlwbL1CoRq6f6h9hRy/eH4FzZi20t6E93Opw23WCmUK/F89qtmHp3y4jg8Y9/7EGPBH75P7euPFype9hEAiMAIQsEZVDeh6HSl+QbTpjAYez2Q95cGiJLPFx1UHS0V/FHeRreCFO9NF5KzGaOT4SnTAuzISLjwek9TfvVCVuDUfh+7CzZhk=----ATTACHMENT:----MzY4OTg5Mjk0ODM1MjIzOSA3MDI2NDQzMTU4MTcyMDg2IDMyNjcwNjUzNjc5ODYwOTU=