protected function DirectoryResource::getInnerIterator

1 call to DirectoryResource::getInnerIterator()
DirectoryResource::getIterator in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/DirectoryResource.php

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/DirectoryResource.php, line 80

Class

DirectoryResource
A resource is something formulae can be loaded from.

Namespace

Assetic\Factory\Resource

Code

protected function getInnerIterator() {
  return new DirectoryResourceFilterIterator(new \RecursiveDirectoryIterator($this->path, \RecursiveDirectoryIterator::FOLLOW_SYMLINKS), $this->pattern);
}