class_with_method_that_declares_anonymous_class.php Interfaces, Classes and Traits foo class_with_method_that_declares_anonymous_class