Required.php Interfaces, Classes and Traits Required Annotation that can be used to signal to the parser to check if that attribute is required during the parsing process.