Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'service_manager' => array(
- 'factories' => array(
- 'validation_list' => 'MarketPlace\Attributes\Factory\AttributeValidator'
- ),
- 'initializers' => array(
- 'validate_class' => function ($classList,$serviceLocator){
- if($classList instanceof ValidationListInterface){
- $class_list = $serviceLocator->get('validation_list');
- $classList->validatorList($class_list);
- }
- }
- )
- );
Add Comment
Please, Sign In to add comment