src/Textpattern/Composer/Installer/Installer/Base.php
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
    {
        new Textpattern();
        parent::install($repo, $package);
        $plugin = new $this->textpatternPackager($this->getInstallPath($package), $package);
        $plugin->install();
    }
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
    {
        new Textpattern();
        parent::install($repo, $package);
        $plugin = new $this->textpatternPackager($this->getInstallPath($package), $package);
        $plugin->install();
    }
public function install ( InstalledRepositoryInterface $ repo , PackageInterface $ package ) { new Textpattern ( ) ; parent :: install ( $ repo , $ package ) ; $ plugin = new $ this -> textpatternPackager ( $ this -> getInstallPath ( $ package ) , $ package ) ; $ plugin -> install ( ) ; }
Writes the plugin package to the database on install.

@param InstalledRepositoryInterface $repo
@param PackageInterface             $package
Writes the plugin package to the database on install .