private function clean()
    {
        foreach (Finder::find($this->namespace . '*')->from($this->tempDir)->childFirst() as $entry) {
            $path = (string)$entry;
            if ($entry->isDir()) {
                //We dont use dirs, ignore
                continue;
            }

            $updateDate = $this->cache->load($entry->getFilename());
            if ($updateDate === null) {
                @unlink($path);
            }
        }

        return;
    }
private function clean()
    {
        foreach (Finder::find($this->namespace . '*')->from($this->tempDir)->childFirst() as $entry) {
            $path = (string)$entry;
            if ($entry->isDir()) {
                //We dont use dirs, ignore
                continue;
            }

            $updateDate = $this->cache->load($entry->getFilename());
            if ($updateDate === null) {
                @unlink($path);
            }
        }

        return;
    }
private function clean ( ) { foreach ( Finder :: find ( $ this -> namespace . '*' ) -> from ( $ this -> tempDir ) -> childFirst ( ) as $ entry ) { $ path = ( string ) $ entry ; if ( $ entry -> isDir ( ) ) { //We dont use dirs, ignore continue ; } $ updateDate = $ this -> cache -> load ( $ entry -> getFilename ( ) ) ; if ( $ updateDate === null ) { @ unlink ( $ path ) ; } } return ; }
Cleans unused tempnam files
@return void
Cleans unused tempnam files