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

getPath() public method

public getPath ( ) : string
return string
    public function getPath()
    {
        return $this->path;
    }

Usage Example

コード例 #1
0
 /**
  * Execute the console command.
  *
  * @param ComposerFileWriter $writer
  *
  * @return bool|null
  * @throws \Exception
  */
 public function fire(ComposerFileWriter $writer)
 {
     // php artisan plugin:sync-composer
     // sync
     $writer->resolvePlugins()->setFixMode()->write();
     $this->output->success("The installation information of the plug-in was synchronized with the composer file(" . $writer->getPath() . ").");
 }