@classmethod
def pyramid(cls, cfg, schema, resolver):
    """ pyramid configurator directive `ptah_uri_resolver`.

        .. code-block:: python

            config = Configurator()
            config.include('ptah')

            def my_resolver(uri):
                ....

            config.ptah_uri_resolver('custom-schema', my_resolver)
        """
    cls(schema, 3)(resolver, cfg)
