Check trait name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
public checkTrait ( string $name ) : boolean | ||
$name | string | String of the trait name to check |
return | boolean | Returns true if trait is valid |