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:----t5EzFdBHjSOo3SUANalM+d+O5lK1XQGbySChVm6p2nRwYJ/odo5xoeDI6x6xS8Mri6NSoSfG7B4VeR8FqiaTJWT3oWyWMw5FgnTO9P1YlYAsy5F9yj2wr8j3/6yLHcfchVKOY3MI2rtqfGIf553uHThwUwBhPcvaOB0nglKliqvKUzFjvCbkJmp5gf5k4A/eLQ17woXusuzIeauxLG2P+mF2LgP3adNWcTngMtLgJSaqAXxqBwnHyaZes4OV/nxpZMoRCcuUrIGMwtrXIHitoYAlDnLEgMcspbIUaM+DzQ3yT5owyAWexBpND8t88GeEAu7k+msn8S40ZtV3BCyH441vV5yYqvWdgWJInNGAYX6/VXmtkqO6yFwXiBtrtHCO9JBShH5cu0o2pUqXgbp1B76KsXs0J5rfYYasxixIwAZdldjPFxh9XwKmc+Cgr8E+S0Y8lau3PtPyHvzj8zsRcCSgjUHEnLzziJ9cWK6yPBoapXNH6WbaVJ0hsphLyiw4ekNASCNYRZJcoFaVWMTqNvLCL2xlAmOFSnaDTevrOno0hWgE9MsTesCtPF7LIMcz2gmEPBj4YT4flAuX4QeSUCGlcV/NS1cOmUmYApFc1XJ0zHdU1qZkUZa8hGtEEzzAQdvtKqGlLhU2DkKYYlIFhLgPqD/fiyZrZOaZjSCsz18=----ATTACHMENT:----NjQwMjA5OTc2MDQ2OTk1MSAzMDgzNTg3NjM0MDEwNjMwIDc3OTg4MjY0NTk2MzU4MzA=