Document PrettyPageHandler::getResource

This commit is contained in:
filp
2013-06-24 23:13:43 +01:00
parent 49dcca999a
commit 088f4b556a
+5
View File
@@ -363,6 +363,11 @@ class PrettyPageHandler extends Handler
}
/**
* Finds a resource, by its relative path, in all available search paths.
* The search is performed starting at the last search path, and all the
* way back to the first, enabling a cascading-type system of overrides
* for all resources.
*
* @throws RuntimeException If resource cannot be found in any of the available paths
*
* @param string $resource