pub fn trait_exists(codebase: &CodebaseMetadata, name: &str) -> boolExpand description
Checks if a trait exists in the codebase.
This lookup is case-insensitive, in line with PHP’s behavior for trait names.
pub fn trait_exists(codebase: &CodebaseMetadata, name: &str) -> boolChecks if a trait exists in the codebase.
This lookup is case-insensitive, in line with PHP’s behavior for trait names.