public function flushFacades()
    {
        if (! $this->files->exists($storagePath = storage_path('framework/cache'))) {
            return;
        }

        foreach ($this->files->files($storagePath) as $file) {
            if (preg_match('/facade-.*\.php$/', $file)) {
                $this->files->delete($file);
            }
        }
    }
public function flushFacades()
    {
        if (! $this->files->exists($storagePath = storage_path('framework/cache'))) {
            return;
        }

        foreach ($this->files->files($storagePath) as $file) {
            if (preg_match('/facade-.*\.php$/', $file)) {
                $this->files->delete($file);
            }
        }
    }
public function flushFacades ( ) { if ( ! $ this -> files -> exists ( $ storagePath = storage_path ( 'framework/cache' ) ) ) { return ; } foreach ( $ this -> files -> files ( $ storagePath ) as $ file ) { if ( preg_match ( '/facade-.*\.php$/' , $ file ) ) { $ this -> files -> delete ( $ file ) ; } } }
Flush the real-time facades stored in the cache directory.

@return void
Flush the real - time facades stored in the cache directory .