private function validate(FileSystem\File $file)
    {
        $filters = $this->buildFilters();
        foreach ($filters as $filter) {
            if (! $filter->validate($file)) return false;
        }

        return true;
    }
private function validate(FileSystem\File $file)
    {
        $filters = $this->buildFilters();
        foreach ($filters as $filter) {
            if (! $filter->validate($file)) return false;
        }

        return true;
    }
private function validate ( FileSystem \ File $ file ) { $ filters = $ this -> buildFilters ( ) ; foreach ( $ filters as $ filter ) { if ( ! $ filter -> validate ( $ file ) ) return false ; } return true ; }
validate file.

@param   Samurai\Samurai\Component\FileSystem\File   $file
@return  boolean
validate file .