Пример #1
0
 /**
  * @inheritdoc
  */
 public function hints()
 {
     return array_merge(parent::hints(), ['prepareForComposer' => 'Create composer.json and add post-install, post-update, post-uninstall scripts', 'vendorName' => 'This refers to the name of the publisher, your GitHub user name is usually a good choice, eg. <code>myself</code>.', 'packageName' => 'This is the name of the extension on packagist, eg. <code>yii2-foobar</code>.', 'namespace' => 'PSR-4, eg. <code>myself\\foobar\\</code> This will be added to your autoloading by composer. Do not use yii, yii2 or yiisoft in the namespace.']);
 }