Gets the physical path to the web assets (i.e. /webroot) directory of a library.
public static webroot ( string | boolean $library = true, string | boolean $scope = null ) : string | ||
$library | string | boolean | The name of the library for which to find the path, or `true` for the default library. |
$scope | string | boolean | The name of the to use to find the path. |
return | string | Returns the physical path to the web assets directory. |