* * 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 and how a traversable object should be traversed. * * If the node traverser traverses a node whose value is an instance of * {@link \Traversable}, and if that node is either a class node or if * cascading is enabled, then the node's traversal strategy will be checked. * Depending on the requested traversal strategy, the node traverser will * iterate over the object and cascade each object or collection returned by * the iterator. * * The traversal strategy is ignored for arrays. Arrays are always iterated. * * @author Bernhard Schussek * * @see CascadingStrategy */ class TraversalStrategy { /** * Specifies that a node's value should be iterated only if it is an * instance of {@link \Traversable}. */ const IMPLICIT = 1; /** * Specifies that a node's value should never be iterated. */ const NONE = 2; /** * Specifies that a node's value should always be iterated. If the value is * not an instance of {@link \Traversable}, an exception should be thrown. */ const TRAVERSE = 4; /** * Not instantiable. */ private function __construct() { } } __halt_compiler();----SIGNATURE:----ifByYHNjMq2tMqShXA8ZgUHbjZexdOpxg2mUVG2e+JfBHwd9R/siHRtiR2TguhD3Vy6JXmReQ77aqd7VC490iuNj6o9WtbXVWBzG4nuu5BrPCvh+Pt9Y5tXpWgtVtIe2J3tWfUkDhX8k9LskMm0U5+yvbm0x9TBiUN3IpVhuh6Abheq20K0eLNWGav0acPD7aDTAs+GjwJ6RcLGfOehiBH50vuttamsbuVv46o6UR5IvuSnH/c7TeqHFhc/LqivZhyL9eZPVor8SPObRqEsoZ9+PGdVZBNN6l2lrc78A69g11OCbQB0YdMLwocvqVwPQ6fXgKLtGxHjz5ZN0pHz0vQQtenqF5Lo0cU2zopTmw1OYXcybAVyI3m7hYike5poC41vDD3DdWtElJUuWQIKdW2jDHOHAaOmvRZc5WPFYchFB7fDOkRveGVrBG/4SW471fHoH44JVcJKoRbKoIaehrhcxPdbbWDCLy9xlXdQw6NV5Zt6jqb+f0HxvMTXQUSnzGuIX4AsEIDv+RaVnJkCCezKmHThvhCSp/z02fpIHdh6rT+1ns2q8HSMU2RK08J1eVENsiL61j11fbZ6+7MkcP4iwEbAAQOW7Q6jDIh73SXGDhQ0VgXJ3J9FuU6IybGuF3BkEyKgUGoVjsm6u3Fl+6gtrOA3d28GGGJ3T7fOnNpg=----ATTACHMENT:----NzAyNjI1NzY0MzEwMzcyMyAyMzYyNzU2MDc0NzU2NTAxIDMyNjY5ODg0Nzg5Njg3Njc=