Xpressengine\Plugin\Composer\ComposerFileWriter::makeFile PHP 메소드

makeFile() 공개 메소드

generate plugin composer file
public makeFile ( ) : void
리턴 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();
    }