*/ 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:----albgP9JoAp94kaiEMUQVbvmViMsbFAjwRamcq+ow5mqvofD+sI/tJsnBi/rTanXLgyyP6FfSHaNaz97jv1BGotjNMrrguA77MELXpYobIrrj/fbwEZTfHQWT9Q3UDyPzHh8bW2jJbbIfy327vn+SnOG9iALoKNWsjtIoq6mXkamr585i/wPUEXzY6GMlEZBME3fzeyD9SN1gk7xvyE2vNiG9wQ5kKVosNjK29Du6X69GpwIaZQrXOnauUpXel/NwJUwPfkN3eWXd8bb/hxyaIEKjdxv/Jc1Nid+5XD03ETBMqQIdvznYcSMia0qApGxLEgCwIwd1oenNEW7IpYjEcgsy48Qlp/+pZbkgqGeLtVyWWa93mwdJfDh1KqwmjVLZl3lqgwRM476Lo0O3QRlqbfdTFtsv6SbDQ0KKOI7OR0REmPK24yY2Y4S56vpANakGHG/YAE2hYrIRc/i//Q1TvcagPV2Sja3T3UdGOKybggB644OEJN8cEHbuhDKRShHA6+oaWBkHR017I579Co9grtZ8OedBy0zwA5GHLefCDVboi136skLOtTZmPnqCB9mgyZUDyzsmeaiVmeiDPkS8J/DrvYaOi7TrBvyTU3e13DBa/1ytQoIaAjTRxDYQp0BOD/AkZvw/q37stLWsO+pBjjM5v0r0QuAlSft1iVfzGSE=----ATTACHMENT:----NjQ2NTQ2OTA0MjEyNzkyNSA1NTczMjU3MTYzNzQ1NDUxIDkxODI4MDEzNzU4Nzg3Mzk=