Xpressengine\Plugin\Composer\ComposerFileWriter::makeFile PHP Method

makeFile() public method

generate plugin composer file
public makeFile ( ) : void
return void
    public function makeFile()
    {
        $data = [];
        $data['repositories'] = [];
        $data['repositories'][] = ['type' => 'composer', 'url' => $this->packagistUrl];
        $data['require'] = [];
        $data['xpressengine-plugin'] = ["path" => "storage/app/composer.plugins.json", "operation" => []];
        $this->data = $data;
        $this->write();
    }