*/ class GlobAsset extends AssetCollection { private $globs; private $initialized; /** * Constructor. * * @param string|array $globs A single glob path or array of paths * @param array $filters An array of filters * @param string $root The root directory */ public function __construct($globs, $filters = array(), $root = null) { $this->globs = (array) $globs; $this->initialized = false; parent::__construct(array(), $filters, $root); } public function all() { if (!$this->initialized) { $this->initialize(); } return parent::all(); } public function load(FilterInterface $additionalFilter = null) { if (!$this->initialized) { $this->initialize(); } parent::load($additionalFilter); } public function dump(FilterInterface $additionalFilter = null) { if (!$this->initialized) { $this->initialize(); } return parent::dump($additionalFilter); } public function getLastModified() { if (!$this->initialized) { $this->initialize(); } return parent::getLastModified(); } public function getIterator() { if (!$this->initialized) { $this->initialize(); } return parent::getIterator(); } /** * Initializes the collection based on the glob(s) passed in. */ private function initialize() { foreach ($this->globs as $glob) { if (false !== $paths = glob($glob)) { foreach ($paths as $path) { $this->add(new FileAsset($path, array(), $this->getSourceRoot())); } } } $this->initialized = true; } } __halt_compiler();----SIGNATURE:----XWu2VmxnWfIMDDqtv8HgVf5MevWsVhCIN8dH0mykY6Jzwt6rp03t34lxGsUMTibDdVVBpOXY0zsqw4s7w00dznWbh8uMQgrfj3rNmRXtgUlG/vpP8pbOXoirCsPJstIbF2wdlPfNJcKk4TcykRbAagzCARlwDCT7eXbBEl/fJuwmSV1ZUSpQZqS84ZvF0hjXda1Q4a8Xit2dN1YQ2lT6eWJaOGgAVXCIgfZR5FSpl1JN7ZfdRATvF5Xr7gw28EgSDfyE6bqI/2cmCiWgD1Hco/f/NNgeOyaUcbb1SNvOnQDkaSpOcWybX5684QAngtJs7to235XmbG0kAhtqzmiWLV3miBBbwBBi/0UZ0iM3nx3EroZxPTgHXCiwRD/p5RzjxhKAO2UjwZdBmCUaaFu+AsEc4yUmNTATsgebu3gR2L+fXOT8H4zsT+oGEO3yUeeQtupIMB3CDuKqipmwQZlKI9PH7w2B6DEv+R65ljJ4pOYN+S3jEXkxFE7QkY/chxfqOoqU9CkiuMTHPGBT5JYBVXn0/o5kqKdnGB16qS6ao7nOGw9nIcvaKkvUYGf+XxHS2Z2dC+0kEpF2Vv8+ksKBZi2fEG/IfHar6LISplnSfmbnp+sdmuktAqLTMqbnYcB0C2uwV0rh5xEfWU4dWowlQvBYih9RFaALLAY2D+7/92Y=----ATTACHMENT:----OTc0NTI0NDAzMDIwMDg0MiAxMjI1Nzg3MTQ4NTMwNjE5IDc1ODkyMjMzNDMyODAxOTk=