A class name resolver for PHP namespaces.