src/Dir/Dir.php
public function accept()
    {
        $path = $this->current()->getPathname();
        if ($this->_excluded($path)) {
            return false;
        }
        if (!$this->_included($path)) {
            return false;
        }
        return $this->_matchType();
    }
public function accept()
    {
        $path = $this->current()->getPathname();
        if ($this->_excluded($path)) {
            return false;
        }
        if (!$this->_included($path)) {
            return false;
        }
        return $this->_matchType();
    }
public function accept ( ) { $ path = $ this -> current ( ) -> getPathname ( ) ; if ( $ this -> _excluded ( $ path ) ) { return false ; } if ( ! $ this -> _included ( $ path ) ) { return false ; } return $ this -> _matchType ( ) ; }
Checks if a file passes the setted filters.

@return boolean
Checks if a file passes the setted filters .