* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Mapping; /** * Specifies whether an object should be cascaded. * * Cascading is relevant for any node type but class nodes. If such a node * contains an object of value, and if cascading is enabled, then the node * traverser will try to find class metadata for that object and validate the * object against that metadata. * * If no metadata is found for a cascaded object, and if that object implements * {@link \Traversable}, the node traverser will iterate over the object and * cascade each object or collection contained within, unless iteration is * prohibited by the specified {@link TraversalStrategy}. * * Although the constants currently represent a boolean switch, they are * implemented as bit mask in order to allow future extensions. * * @author Bernhard Schussek * * @see TraversalStrategy */ class CascadingStrategy { /** * Specifies that a node should not be cascaded. */ const NONE = 1; /** * Specifies that a node should be cascaded. */ const CASCADE = 2; /** * Not instantiable. */ private function __construct() { } } __halt_compiler();----SIGNATURE:----dlwKus6VaBK/JLLEYoFs6bJluT6Z1KiCkleqtNgEUbys+52YX2uFTK3qWq9aZYnKX2oDWn715e1zlCW6qvsMhitEMmXbT87ve8dm2Wp6NOe3s0Cvee015RTm4TeL4ZTrfB9asRkZI2VgkJbwFrslkwm9f4OZ1iA1FHvfAQy6RuZsDUjr+/lDfWjl5CdP4SD3NNkxk40q7vYzd6tMer3pbcLZLDInEElIHKbVRKuvQ/KOESWi692UWDrQNu4pdmVti/qAWgxBSHzWcnpPFhEPkXyk/u9Fzom13ddqojNc/WmNHp1r06pvgZLzTf9/Ce1W9TkwAtbiGd9abMQVVD35b2TM59wG191ZBFinqYek1g3KPrrSVe17GN2ZTYVr3+3xYWowsIJlNxBiKIcL95Q2qeXHW8SwfaZuzaLhkzRtHSA+XcAgB9CfMEEd9e0G9P+bd/b31IIekZuXz3e2o02EhoCwWe0u1Z+WKaHb90VfpyXPl5VnE2fGr/6b5l6xuYi2KpQm4NV3uZbdGVQjiBQjfY6waw1WoS7iWQgdxNgC9ShM/g6862qLBbLjzTDVyXxTJZRn3kOekm9ZNWiHolgVQXGoRV4TqiLAc1sgd3eQylKxCtEOghFt/yAsYOKLO2zShIztilXKTRdPorI+hU2agJL+gYruSPk00G6uFGJq0gM=----ATTACHMENT:----NzgyMDgxNDM0NzgwNDI1MiAyOTE4MTAwNjMyMjg0NjcxIDQzNTk1MTkzMjQxNTE1NTA=