WP_CLI

FileCache::get_finder()protectedWP-CLI 1.0

Get a Finder that iterates in cache root only the files

Method of the class: FileCache{}

No Hooks.

Return

Finder.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_finder();

FileCache::get_finder() code WP-CLI 2.8.0-alpha

protected function get_finder() {
	return Finder::create()->in( $this->root )->files();
}