create a schema listener in the sense of https://github.com/symfony/symfony/issues/3560 for phpcr