* * 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:----dit6mz3sKT5pCApKLiLtauzeqLr/Vf0WYIRVta54iD80kuC/DHrxGFzQHutTRXdBrSxkIpIy2R741SlVTbEMXTVUWnlssQauAOxAIF7WuNW7msncOqmDDQK83VO84JrMCoFT/DfjSVgw2h8Y/CMwWZOYFCwqUy0lZYyKVIQ7r2kYDl5ds7NPlYLpi9ZbzJzXEVYr4s7DqYxADaH4GX2ymene0KCODdRW1cD8ih/1OQHbCzJE/Dvx/f5z0YsUjkFVnPohtpZthzJi2Iz7jpVBJaYKNf7bIjuXquSV06vcg+yDZfK/UkXLrcztHHcIAvn694DC9sqX8LWU2CeroHn3HSdq6uR342b55SN4DT4nhpE1EG+u8I0cfsT8ZzJLfollxz4GGctGQhUfKbnCTn9W6xpR6F+xB0UNVnim21sHilwp6y6QAwmEXiQ63PmO7CgiQDC0Nxtp732pbs8QF0X+aWu4nLYw+MS5jtKm4UVaPKJLiSj0vY5nwFhaKtZC4NPRUGNuoT1OJcZZcVYvS5Z/bS4VfxM+iNxCG2ga9/JvN5ZpxBR5C7t8pFZhiO+bLQHjwd5YQUarVWnLeRhuv6AGU9OGXR+d+fLtqIQ+dhUI+slVI1egXuSa9bjLdXk5PEYyiCuskpKtC5bp6kiLZ0sUZMm3QQ6d4QxXt4TbA7Vyos8=----ATTACHMENT:----NzI1Mjc0NjYxODIyMDY1OSA4NDU5MjQ3OTM2NzY2MTI3IDYyMjU3MzkwNTQwNDIxNTQ=