Wipro Interview Question

Write a syntax for custom middleware classes?