public function registerManifest($path)
    {
        if (! File::exists($path)) {
            throw new \Exception('Extension manifest file does not exist! Path: ' . $path);
        }

        $manifest = File::get($path);
        $manifest = json_decode($manifest, true);
        $this->register($manifest);
    }
public function registerManifest($path)
    {
        if (! File::exists($path)) {
            throw new \Exception('Extension manifest file does not exist! Path: ' . $path);
        }

        $manifest = File::get($path);
        $manifest = json_decode($manifest, true);
        $this->register($manifest);
    }
public function registerManifest ( $ path ) { if ( ! File :: exists ( $ path ) ) { throw new \ Exception ( 'Extension manifest file does not exist! Path: ' . $ path ) ; } $ manifest = File :: get ( $ path ) ; $ manifest = json_decode ( $ manifest , true ) ; $ this -> register ( $ manifest ) ; }
Register an extension using manifest config file.

@param string $path
@throws \Exception
@throws \Illuminate\Contracts\Filesystem\FileNotFoundException
Register an extension using manifest config file .