protected function buildSerializableClosure(\Closure $closure)
    {
        switch (true) {
            case class_exists('SuperClosure\\SerializableClosure'):
                return new \SuperClosure\SerializableClosure($closure);

            default:
                return new \Jeremeamia\SuperClosure\SerializableClosure($closure);
        }
    }