How do they work?
Was this helpful?
Was this helpful?
coldbox create interceptor help// Interceptors registration
interceptors = [
{
class = "cfc.path", //by default this should be interceptors.yourcfcname
name = "unique name/wirebox ID",
properties = {
// configuration
}
}
];controller.getInterceptorService().registerInterceptor( interceptorClass="cfc.path" );