Programming Language PHP

Namespace Cake\Composer\Installer

Class PluginInstaller

Total Examples 1

1 code examples of PHP Cake\Composer\Installer\PluginInstaller extracted from open source projects

Was this example useful?
0
                                                    public function testPostAutoloadDump()
    {
        $rootPackage = new RootPackage('cakephp/app', '1.0', '1.0');
        $rootPackage->setType('project');
        $rootPackage->setScripts([
            'post-autoload-dump' => 'Cake\Composer\Installer\PluginInstaller::postAutoloadDump',
        ]);

        $this->composer->setPackage($rootPackage);
        $this->io->expects($this->once())
                ->method('write');

        $event = new Event('post-autoload-dump', $this->composer, $this->io);

        PluginInstaller::postAutoloadDump($event);
    }
                                            
PluginInstaller's Other Methods
PluginInstaller's Other Methods