File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 241241 <tag name =" console.command" command =" doctrine:mapping:info" />
242242 </service >
243243
244+ <service id =" doctrine.mapping_describe_command" class =" Doctrine\ORM\Tools\Console\Command\MappingDescribeCommand" >
245+ <argument type =" service" id =" doctrine.orm.command.entity_manager_provider" />
246+ <tag name =" console.command" command =" doctrine:mapping:describe" />
247+ </service >
248+
244249 <service id =" doctrine.clear_query_region_command" class =" Doctrine\ORM\Tools\Console\Command\ClearCache\QueryRegionCommand" >
245250 <argument type =" service" id =" doctrine.orm.command.entity_manager_provider" />
246251 <tag name =" console.command" command =" doctrine:cache:clear-query-region" />
Original file line number Diff line number Diff line change 1212use Doctrine \ORM \EntityManager ;
1313use Doctrine \ORM \EntityManagerInterface ;
1414use Doctrine \ORM \Tools \Console \Command \InfoCommand ;
15+ use Doctrine \ORM \Tools \Console \Command \MappingDescribeCommand ;
1516use Doctrine \ORM \Tools \Console \Command \SchemaTool \UpdateCommand ;
1617use Doctrine \Persistence \ManagerRegistry ;
1718use Doctrine \Persistence \Mapping \Driver \MappingDriverChain ;
@@ -63,6 +64,7 @@ public function testContainer(): void
6364 $ this ->assertInstanceOf (ManagerRegistry::class, $ container ->get ('doctrine ' ));
6465 $ this ->assertInstanceOf (UniqueEntityValidator::class, $ container ->get ('doctrine.orm.validator.unique ' ));
6566 $ this ->assertInstanceOf (InfoCommand::class, $ container ->get ('doctrine.mapping_info_command ' ));
67+ $ this ->assertInstanceOf (MappingDescribeCommand::class, $ container ->get ('doctrine.mapping_describe_command ' ));
6668 $ this ->assertInstanceOf (UpdateCommand::class, $ container ->get ('doctrine.schema_update_command ' ));
6769
6870 $ this ->assertTrue (Type::hasType ('test ' ));
You can’t perform that action at this time.
0 commit comments