declareProvides (
protocol,
adapter=NO_ADAPTER_NEEDED,
depth=1,
)
Register adapter as providing protocol for this object
Return a true value if the provided adapter is the "shortest path" to
protocol for the object, or false if a shorter path already existed.
|