ValidationContext.php Interfaces, Classes, Traits and Enums ValidationContext An instance of this class is passed as the "this" context to all validators, allowing access to commonly useful contextual information from within a validation rule.