pharext\SourceDir\Basic::filter PHP Method

filter() public method

public filter ( $current, $key, $iterator )
    public function filter($current, $key, $iterator)
    {
        $sub = $current->getSubPath();
        if ($sub === ".git" || $sub === ".hg" || $sub === ".svn") {
            return false;
        }
        return true;
    }