From 2e794711ba07ca0dfcbb45cec1f42c978862582d Mon Sep 17 00:00:00 2001 From: Maxim Smakouz Date: Mon, 19 Feb 2024 18:41:58 +0200 Subject: [PATCH] Remove information about registerLoader --- docs/en/intro/install.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/en/intro/install.md b/docs/en/intro/install.md index 151ae15..da37e42 100644 --- a/docs/en/intro/install.md +++ b/docs/en/intro/install.md @@ -229,9 +229,6 @@ use Doctrine\Common\Annotations\AnnotationRegistry; $dbal = /** ... */; -// Initialize annotations -AnnotationRegistry::registerLoader('class_exists'); - $schema = (new Schema\Compiler())->compile(new Schema\Registry($dbal), [ new Schema\Generator\ResetTables(), // Reconfigure table schemas (deletes columns if necessary) new Annotated\Embeddings($classLocator), // Recognize embeddable entities