src/File/Callback.php
public function files()
    {
        $files = [];
        foreach (call_user_func($this->callable) as $file) {
            $path = $this->scanner->find($file);
            if ($path === false) {
                throw new RuntimeException("Could not locate {$file} for {$this->callable} in any configured path.");
            }
            $files[] = new Local($path);
        }
        return $files;
    }
public function files()
    {
        $files = [];
        foreach (call_user_func($this->callable) as $file) {
            $path = $this->scanner->find($file);
            if ($path === false) {
                throw new RuntimeException("Could not locate {$file} for {$this->callable} in any configured path.");
            }
            $files[] = new Local($path);
        }
        return $files;
    }
public function files ( ) { $ files = [ ] ; foreach ( call_user_func ( $ this -> callable ) as $ file ) { $ path = $ this -> scanner -> find ( $ file ) ; if ( $ path === false ) { throw new RuntimeException ( "Could not locate {$file} for {$this->callable} in any configured path." ) ; } $ files [ ] = new Local ( $ path ) ; } return $ files ; }
Get the list of files from the callback.

@return array
Get the list of files from the callback .