DocumentValidator.php Interfaces, Classes, Traits and Enums DocumentValidator Implements the "Validation" section of the spec.