public function handle(SpecificationInterface $specification): Generator
    {
        foreach ($this->yieldFilesInPath($specification, '') as $path) {
            if (isset($path['type']) && $path['type'] === 'file') {
                yield $path;
            }
        }
    }
public function handle(SpecificationInterface $specification): Generator
    {
        foreach ($this->yieldFilesInPath($specification, '') as $path) {
            if (isset($path['type']) && $path['type'] === 'file') {
                yield $path;
            }
        }
    }
public function handle ( SpecificationInterface $ specification ) : Generator { foreach ( $ this -> yieldFilesInPath ( $ specification , '' ) as $ path ) { if ( isset ( $ path [ 'type' ] ) && $ path [ 'type' ] === 'file' ) { yield $ path ; } } }
Find the specified files

Note that only found *files* are yielded at this level,
which go back to the caller.
Find the specified files