tweaked phpdoc comment descriptions to explain how multiple base URL's are handled

This commit is contained in:
Lukas Kahwe Smith 2010-11-22 18:43:38 +01:00 committed by Fabien Potencier
parent a79ed13624
commit 14520d565b

View File

@ -89,6 +89,9 @@ class AssetsHelper extends Helper
/** /**
* Gets the base URL. * Gets the base URL.
* *
* If multiple base URLs have been defined a random one will be picked for each asset.
* In other words: for one asset path the same base URL will always be picked among the available base URLs.
*
* @param string $path The path * @param string $path The path
* *
* @return string The base URL * @return string The base URL
@ -123,7 +126,7 @@ class AssetsHelper extends Helper
* Sets the base URLs. * Sets the base URLs.
* *
* If you pass an array, the getBaseURL() will return a * If you pass an array, the getBaseURL() will return a
* random one each time it is called. * randomly pick one to use for each asset.
* *
* @param string|array $baseURLs The base URLs * @param string|array $baseURLs The base URLs
*/ */