Initializes the collection based on the glob(s) passed in.
private function initialize() {
foreach ($this->globs as $glob) {
$glob = PathUtils::resolvePath($glob, $this
->getVars(), $this
->getValues());
if (false !== ($paths = glob($glob))) {
foreach ($paths as $path) {
$this
->add(new FileAsset($path, array(), $this
->getSourceRoot()));
}
}
}
$this->initialized = true;
}