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