src/Entity/Traits/ValidatedEntityTrait.php
private static function getValidatorStaticMeta(): ValidatorStaticMeta
    {
        if (null === self::$validatorStaticMeta) {
            self::$validatorStaticMeta = new ValidatorStaticMeta(self::getDoctrineStaticMeta());
        }

        return self::$validatorStaticMeta;
    }
private static function getValidatorStaticMeta(): ValidatorStaticMeta
    {
        if (null === self::$validatorStaticMeta) {
            self::$validatorStaticMeta = new ValidatorStaticMeta(self::getDoctrineStaticMeta());
        }

        return self::$validatorStaticMeta;
    }
private static function getValidatorStaticMeta ( ) : ValidatorStaticMeta { if ( null === self :: $ validatorStaticMeta ) { self :: $ validatorStaticMeta = new ValidatorStaticMeta ( self :: getDoctrineStaticMeta ( ) ) ; } return self :: $ validatorStaticMeta ; }
Get an instance of the ValidatorStaticMeta object for this Entity

@return ValidatorStaticMeta
Get an instance of the ValidatorStaticMeta object for this Entity