src/Jms/YamlValidatorConverter.php
protected function &visitAttribute(&$class, Schema $schema, AttributeItem $attribute)
    {
        $property = parent::visitAttribute($class, $schema, $attribute);

        $this->loadValidatorAttribute($property, $attribute);

        return $property;
    }
protected function &visitAttribute(&$class, Schema $schema, AttributeItem $attribute)
    {
        $property = parent::visitAttribute($class, $schema, $attribute);

        $this->loadValidatorAttribute($property, $attribute);

        return $property;
    }
protected function & visitAttribute ( & $ class , Schema $ schema , AttributeItem $ attribute ) { $ property = parent :: visitAttribute ( $ class , $ schema , $ attribute ) ; $ this -> loadValidatorAttribute ( $ property , $ attribute ) ; return $ property ; }
Override necessary to improve method to load validations from schema attribute

@param PHPClass $class
@param Schema $schema
@param AttributeItem $attribute
@return array
Override necessary to improve method to load validations from schema attribute