src/Jms/YamlValidatorConverter.php
protected function &visitElement(&$class, Schema $schema, ElementItem $element, $arrayize = true)
    {
        $property = parent::visitElement($class, $schema, $element, $arrayize);

        $this->loadValidatorElement($property, $element);
        return $property;
    }
protected function &visitElement(&$class, Schema $schema, ElementItem $element, $arrayize = true)
    {
        $property = parent::visitElement($class, $schema, $element, $arrayize);

        $this->loadValidatorElement($property, $element);
        return $property;
    }
protected function & visitElement ( & $ class , Schema $ schema , ElementItem $ element , $ arrayize = true ) { $ property = parent :: visitElement ( $ class , $ schema , $ element , $ arrayize ) ; $ this -> loadValidatorElement ( $ property , $ element ) ; return $ property ; }
Override necessary to improve method to load validations from schema element

@param PHPClass $class
@param Schema $schema
@param ElementItem $element
@param boolean $arrayize
@return PHPProperty
Override necessary to improve method to load validations from schema element