Skip to content

zingus/dirutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example

<?php

require_once "vendor\autoload.php";
use DirUtils\Walker;

class walker extends Walker {
  function action($filename) {
    // ...
    // do something with $filename
    // ...
    // the path from which the walk started is $this->root
    // $filename is relative to $this->root
    // the full path of the $filename is $this->full

    echo "$this->root \t $filename \t $this->full\n";
  }
}

$foobar=new foobar();
$foobar->walk('.');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages