Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 557 Bytes

wirebox-dsl-and-integration.md

File metadata and controls

12 lines (9 loc) · 557 Bytes

WireBox Integration

The module will register several objects into WireBox using the @cbvalidation namespace. The validation manager is registered as ValidationManager@cbvalidation, which is the one you can inject and use anywhere you like.

// get reference
property name="validationManager" inject="ValidationManager@cbvalidation";

{% hint style="info" %} Remember you have the mixins available to you in your handlers/interceptors/layouts and views and the Validatable@cbValidation delegate for any model object. {% endhint %}