public function validateProperties(&$element, $properties = null, JsonPointer $path = null)
    {
        $undefinedConstraint = $this->factory->createInstanceFor('undefined');

        foreach ($properties as $i => $value) {
            $property = &$this->getProperty($element, $i, $undefinedConstraint);
            $definition = $this->getProperty($properties, $i);

            if (is_object($definition)) {
                // Undefined constraint will check for is_object() and quit if is not - so why pass it?
                $this->checkUndefined($property, $definition, $path, $i, in_array($i, $this->appliedDefaults));
            }
        }
    }
public function validateProperties(&$element, $properties = null, JsonPointer $path = null)
    {
        $undefinedConstraint = $this->factory->createInstanceFor('undefined');

        foreach ($properties as $i => $value) {
            $property = &$this->getProperty($element, $i, $undefinedConstraint);
            $definition = $this->getProperty($properties, $i);

            if (is_object($definition)) {
                // Undefined constraint will check for is_object() and quit if is not - so why pass it?
                $this->checkUndefined($property, $definition, $path, $i, in_array($i, $this->appliedDefaults));
            }
        }
    }
public function validateProperties ( & $ element , $ properties = null , JsonPointer $ path = null ) { $ undefinedConstraint = $ this -> factory -> createInstanceFor ( 'undefined' ) ; foreach ( $ properties as $ i => $ value ) { $ property = & $ this -> getProperty ( $ element , $ i , $ undefinedConstraint ) ; $ definition = $ this -> getProperty ( $ properties , $ i ) ; if ( is_object ( $ definition ) ) { // Undefined constraint will check for is_object() and quit if is not - so why pass it? $ this -> checkUndefined ( $ property , $ definition , $ path , $ i , in_array ( $ i , $ this -> appliedDefaults ) ) ; } } }
Validates the definition properties

@param \stdClass        $element    Element to validate
@param \stdClass        $properties Property definitions
@param JsonPointer|null $path       Path?
Validates the definition properties