src/Support/ClassLoader.php
protected function write(array $manifest)
    {
        if (!is_writable($path = dirname($this->manifestPath))) {
            throw new Exception('The '.$path.' directory must be present and writable.');
        }

        $this->files->put(
            $this->manifestPath, '<?php return '.var_export($manifest, TRUE).';'
        );
    }
protected function write(array $manifest)
    {
        if (!is_writable($path = dirname($this->manifestPath))) {
            throw new Exception('The '.$path.' directory must be present and writable.');
        }

        $this->files->put(
            $this->manifestPath, '<?php return '.var_export($manifest, TRUE).';'
        );
    }
Write the manifest array to filesystem.

@param  array $manifest

@return void
@throws \Exception