public locateResource ( string $name, string $dir = null, boolean $first = true ) : string | array | ||
$name | string | A resource name to locate |
$dir | string | A directory where to look for the resource first |
$first | boolean | Whether to return the first path or paths for all matching bundles |
Результат | string | array | The absolute path of the resource or an array if $first is false |