src/Graviton/SchemaBundle/Constraint/ConstraintUtils.php
public function onSchemaValidation(ConstraintEventSchema $event)
    {
        $this->currentSchema = $event->getSchema();
        $this->currentData = $event->getElement();
    }
public function onSchemaValidation(ConstraintEventSchema $event)
    {
        $this->currentSchema = $event->getSchema();
        $this->currentData = $event->getElement();
    }
public function onSchemaValidation ( ConstraintEventSchema $ event ) { $ this -> currentSchema = $ event -> getSchema ( ) ; $ this -> currentData = $ event -> getElement ( ) ; }
called on the first schema validation, before anything else.

@param ConstraintEventSchema $event event

@return void
called on the first schema validation before anything else .