Doctrine\ORM\Tools\SchemaValidator
Performs strict validation of the mapping schema
- Author: Benjamin Eberlei <kontakt@beberlei.de>
- License: http://www.opensource.org/licenses/lgpl-license.php LGPL
Synopsis
class SchemaValidator
{
- // members
- private EntityManager $em;
- // methods
- public void __construct()
- public array validateMapping()
- public array validateClass()
- private bool columnExistsOnEntity()
- public bool schemaInSyncWithMetadata()
Members
private
Methods
private
public
- __construct()
- schemaInSyncWithMetadata() — Check if the Database Schema is in sync with the current metadata state.
- validateClass() — Validate a single class of the current
- validateMapping() — Checks the internal consistency of all mapping files.