Commit 21b35928 authored by waltermazza's avatar waltermazza
Browse files

Arter namespace

parent b2cac3f9
...@@ -11,13 +11,13 @@ Installation ...@@ -11,13 +11,13 @@ Installation
Either run Either run
```bash ```bash
composer require elitedivision/amos-comments composer require arter/amos-comments
``` ```
or add this row or add this row
``` ```
"elitedivision/amos-comments": "dev-master" "arter/amos-comments": "dev-master"
``` ```
to the require section of your `composer.json` file. to the require section of your `composer.json` file.
...@@ -28,11 +28,11 @@ to the require section of your `composer.json` file. ...@@ -28,11 +28,11 @@ to the require section of your `composer.json` file.
<?php <?php
'modules' => [ 'modules' => [
'comments' => [ 'comments' => [
'class' => 'elitedivision\amos\comments\AmosComments', 'class' => 'arter\amos\comments\AmosComments',
'modelsEnabled' => [ 'modelsEnabled' => [
/** /**
* Add here the classnames of the models where you want the comments * Add here the classnames of the models where you want the comments
* (i.e. 'elitedivision\amos\events\models\Event') * (i.e. 'arter\amos\events\models\Event')
*/ */
], ],
// the following are mandatory fields // the following are mandatory fields
...@@ -57,7 +57,7 @@ Also, add these lines to your bootstrap: ...@@ -57,7 +57,7 @@ Also, add these lines to your bootstrap:
<?php <?php
'components' => [ 'components' => [
'view' => [ 'view' => [
'class' => 'elitedivision\amos\core\components\AmosView', 'class' => 'arter\amos\core\components\AmosView',
], ],
], ],
``` ```
...@@ -65,7 +65,7 @@ Also, add these lines to your bootstrap: ...@@ -65,7 +65,7 @@ Also, add these lines to your bootstrap:
4 Apply migrations 4 Apply migrations
```bash ```bash
php yii migrate/up --migrationPath=@vendor/elitedivision/amos-comments/src/migrations php yii migrate/up --migrationPath=@vendor/arter/amos-comments/src/migrations
``` ```
or add this row to your migrations config in console: or add this row to your migrations config in console:
...@@ -73,7 +73,7 @@ or add this row to your migrations config in console: ...@@ -73,7 +73,7 @@ or add this row to your migrations config in console:
```php ```php
<?php <?php
return [ return [
'@vendor/elitedivision/amos-comments/src/migrations', '@vendor/arter/amos-comments/src/migrations',
]; ];
``` ```
...@@ -81,7 +81,7 @@ return [ ...@@ -81,7 +81,7 @@ return [
```php ```php
<?php <?php
use elitedivision\amos\comments\models\CommentInterface; use arter\amos\comments\models\CommentInterface;
/** /**
* Implement the CommentInterface * Implement the CommentInterface
...@@ -103,7 +103,7 @@ public function isCommentable() ...@@ -103,7 +103,7 @@ public function isCommentable()
<?php <?php
'modules' => [ 'modules' => [
'comments' => [ 'comments' => [
'class' => 'elitedivision\amos\comments\AmosComments', 'class' => 'arter\amos\comments\AmosComments',
'modelsEnabled' => [ 'modelsEnabled' => [
'class_namespace\MyClass' 'class_namespace\MyClass'
] ]
...@@ -118,7 +118,7 @@ public function isCommentable() ...@@ -118,7 +118,7 @@ public function isCommentable()
<?php <?php
'modules' => [ 'modules' => [
'comments' => [ 'comments' => [
'class' => 'elitedivision\amos\comments\AmosComments', 'class' => 'arter\amos\comments\AmosComments',
'enableMailsNotification' => false, 'enableMailsNotification' => false,
'modelsEnabled' => [ 'modelsEnabled' => [
'class_namespace\MyClass' 'class_namespace\MyClass'
...@@ -133,9 +133,9 @@ you can insert an array ...@@ -133,9 +133,9 @@ you can insert an array
```php ```php
'comments' => [ 'comments' => [
'htmlMailContent' => [ 'htmlMailContent' => [
'elitedivision\amos\news\models\News' => '@backend/mail/comment/content_news', 'arter\amos\news\models\News' => '@backend/mail/comment/content_news',
'elitedivision\amos\discussioni\models\DiscussioniTopic' => '@backend/mail/comment/content_discussioni', 'arter\amos\discussioni\models\DiscussioniTopic' => '@backend/mail/comment/content_discussioni',
'elitedivision\amos\documenti\models\Documenti' => '@backend/mail/comment/content_documenti' 'arter\amos\documenti\models\Documenti' => '@backend/mail/comment/content_documenti'
], ],
``` ```
or a string if the conente is valid for all contents(news/discussioni/docuemnts/ecc..) or a string if the conente is valid for all contents(news/discussioni/docuemnts/ecc..)
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"elitedivision\\amos\\comments\\": "src" "arter\\amos\\comments\\": "src"
} }
} }
} }
\ No newline at end of file
...@@ -5,25 +5,25 @@ ...@@ -5,25 +5,25 @@
* OPEN 2.0 * OPEN 2.0
* *
* *
* @package elitedivision\amos\comments * @package arter\amos\comments
* @category CategoryName * @category CategoryName
* @author Elite Division S.r.l. * @author Elite Division S.r.l.
*/ */
namespace elitedivision\amos\comments; namespace arter\amos\comments;
use elitedivision\amos\comments\components\CommentComponent; use arter\amos\comments\components\CommentComponent;
use elitedivision\amos\comments\models\Comment; use arter\amos\comments\models\Comment;
use elitedivision\amos\comments\models\CommentReply; use arter\amos\comments\models\CommentReply;
use elitedivision\amos\core\components\AmosView; use arter\amos\core\components\AmosView;
use elitedivision\amos\core\module\AmosModule; use arter\amos\core\module\AmosModule;
use elitedivision\amos\core\module\ModuleInterface; use arter\amos\core\module\ModuleInterface;
use yii\base\BootstrapInterface; use yii\base\BootstrapInterface;
use yii\base\Event; use yii\base\Event;
/** /**
* Class AmosComments * Class AmosComments
* @package elitedivision\amos\comments * @package arter\amos\comments
*/ */
class AmosComments extends AmosModule implements ModuleInterface, BootstrapInterface class AmosComments extends AmosModule implements ModuleInterface, BootstrapInterface
{ {
...@@ -39,7 +39,7 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter ...@@ -39,7 +39,7 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter
/** /**
* @inheritdoc * @inheritdoc
*/ */
public $controllerNamespace = 'elitedivision\amos\comments\controllers'; public $controllerNamespace = 'arter\amos\comments\controllers';
public $newFileMode = 0666; public $newFileMode = 0666;
...@@ -64,21 +64,21 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter ...@@ -64,21 +64,21 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter
/** /**
* This is the html used to render the subject of the e-mail. In the view is available the variable $profile * This is the html used to render the subject of the e-mail. In the view is available the variable $profile
* that is an instance of 'elitedivision\amos\admin\models\UserProfile' * that is an instance of 'arter\amos\admin\models\UserProfile'
* @var string * @var string
*/ */
public $htmlMailContentTitle = '@vendor/elitedivision/amos-comments/src/views/comment/email/content_title'; public $htmlMailContentTitle = '@vendor/arter/amos-comments/src/views/comment/email/content_title';
/** /**
* This is the html used to render the message of the e-mail. In the view is available the variable $profile * This is the html used to render the message of the e-mail. In the view is available the variable $profile
* that is an instance of 'elitedivision\amos\admin\models\UserProfile' * that is an instance of 'arter\amos\admin\models\UserProfile'
* @var string|array * @var string|array
*/ */
public $htmlMailContent = '@vendor/elitedivision/amos-comments/src/views/comment/email/content'; public $htmlMailContent = '@vendor/arter/amos-comments/src/views/comment/email/content';
// public $htmlMailContent = [ // public $htmlMailContent = [
// 'elitedivision\amos\news\models\News' => '@vendor/elitedivision/amos-comments/src/views/comment/email/content_news', // 'arter\amos\news\models\News' => '@vendor/arter/amos-comments/src/views/comment/email/content_news',
// 'elitedivision\amos\discussioni\models\DiscussioniTopic' => '@vendor/elitedivision/amos-comments/src/views/comment/email/content_discussioni', // 'arter\amos\discussioni\models\DiscussioniTopic' => '@vendor/arter/amos-comments/src/views/comment/email/content_discussioni',
// 'elitedivision\amos\documenti\models\Documenti' => '@vendor/elitedivision/amos-comments/src/views/comment/email/content_documenti' // 'arter\amos\documenti\models\Documenti' => '@vendor/arter/amos-comments/src/views/comment/email/content_documenti'
// ]; // ];
/** /**
...@@ -119,7 +119,7 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter ...@@ -119,7 +119,7 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter
public function init() public function init()
{ {
parent::init(); parent::init();
\Yii::setAlias('@elitedivision/amos/' . static::getModuleName() . '/controllers', __DIR__ . '/controllers/'); \Yii::setAlias('@arter/amos/' . static::getModuleName() . '/controllers', __DIR__ . '/controllers/');
// custom initialization code goes here // custom initialization code goes here
\Yii::configure($this, require(__DIR__ . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'config.php')); \Yii::configure($this, require(__DIR__ . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'config.php'));
} }
...@@ -167,7 +167,7 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter ...@@ -167,7 +167,7 @@ class AmosComments extends AmosModule implements ModuleInterface, BootstrapInter
->andWhere(['context' => $model->className(), 'context_id' => $model->id]) ->andWhere(['context' => $model->className(), 'context_id' => $model->id])
->groupBy('comment.id'); ->groupBy('comment.id');
/** @var \elitedivision\amos\comments\models\Comment $lastComment */ /** @var \arter\amos\comments\models\Comment $lastComment */
$countComment = $query->count(); $countComment = $query->count();
$query = Comment::find() $query = Comment::find()
->joinWith('commentReplies', true, 'LEFT JOIN') ->joinWith('commentReplies', true, 'LEFT JOIN')
......
...@@ -5,25 +5,25 @@ ...@@ -5,25 +5,25 @@
* OPEN 2.0 * OPEN 2.0
* *
* *
* @package elitedivision\amos\comments\assets * @package arter\amos\comments\assets
* @category CategoryName * @category CategoryName
* @author Elite Division S.r.l. * @author Elite Division S.r.l.
*/ */
namespace elitedivision\amos\comments\assets; namespace arter\amos\comments\assets;
use yii\web\AssetBundle; use yii\web\AssetBundle;
/** /**
* Class CommentsAsset * Class CommentsAsset
* @package elitedivision\amos\comments\assets * @package arter\amos\comments\assets
*/ */
class CommentsAsset extends AssetBundle class CommentsAsset extends AssetBundle
{ {
/** /**
* @inheritdoc * @inheritdoc
*/ */
public $sourcePath = '@vendor/elitedivision/amos-comments/src/assets/web'; public $sourcePath = '@vendor/arter/amos-comments/src/assets/web';
/** /**
* @inheritdoc * @inheritdoc
...@@ -50,9 +50,9 @@ class CommentsAsset extends AssetBundle ...@@ -50,9 +50,9 @@ class CommentsAsset extends AssetBundle
{ {
$moduleL = \Yii::$app->getModule('layout'); $moduleL = \Yii::$app->getModule('layout');
if (!empty($moduleL)) { if (!empty($moduleL)) {
$this->depends [] = 'elitedivision\amos\layout\assets\BaseAsset'; $this->depends [] = 'arter\amos\layout\assets\BaseAsset';
} else { } else {
$this->depends [] = 'elitedivision\amos\core\views\assets\AmosCoreAsset'; $this->depends [] = 'arter\amos\core\views\assets\AmosCoreAsset';
} }
parent::init(); // TODO: Change the autogenerated stub parent::init(); // TODO: Change the autogenerated stub
} }
......
/** /**
IMPORT AMOS-LAYOUT VARIABLES IMPORT AMOS-LAYOUT VARIABLES
*/ */
@import (optional) "../../vendor/elitedivision/amos-layout/src/assets/resources/base/less/variables.less"; @import (optional) "../../vendor/arter/amos-layout/src/assets/resources/base/less/variables.less";
@import (optional) "../../vendor/elitedivision/amos-layout/src/assets/resources/base/less/utility.less"; @import (optional) "../../vendor/arter/amos-layout/src/assets/resources/base/less/utility.less";
/** /**
IMPORT STYLE-CUSTOM IMPORT STYLE-CUSTOM
*/ */
......
...@@ -4,28 +4,28 @@ ...@@ -4,28 +4,28 @@
* OPEN 2.0 * OPEN 2.0
* *
* *
* @package elitedivision\amos\comments\base * @package arter\amos\comments\base
* @category CategoryName * @category CategoryName
* @author Elite Division S.r.l. * @author Elite Division S.r.l.
*/ */
namespace elitedivision\amos\comments\base; namespace arter\amos\comments\base;
use elitedivision\amos\comments\AmosComments; use arter\amos\comments\AmosComments;
use elitedivision\amos\comments\models\Comment; use arter\amos\comments\models\Comment;
use elitedivision\amos\comments\models\CommentReply; use arter\amos\comments\models\CommentReply;
use elitedivision\amos\core\controllers\CrudController; use arter\amos\core\controllers\CrudController;
use elitedivision\amos\core\interfaces\ModelLabelsInterface; use arter\amos\core\interfaces\ModelLabelsInterface;
use elitedivision\amos\core\record\Record; use arter\amos\core\record\Record;
use elitedivision\amos\core\user\User; use arter\amos\core\user\User;
use elitedivision\amos\core\utilities\Email; use arter\amos\core\utilities\Email;
use Yii; use Yii;
use yii\base\BaseObject; use yii\base\BaseObject;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
/** /**
* Class PartecipantsNotification * Class PartecipantsNotification
* @package elitedivision\amos\comments\base * @package arter\amos\comments\base
*/ */
class PartecipantsNotification extends BaseObject class PartecipantsNotification extends BaseObject
{ {
...@@ -70,9 +70,9 @@ class PartecipantsNotification extends BaseObject ...@@ -70,9 +70,9 @@ class PartecipantsNotification extends BaseObject
$model_reply = $comment; $model_reply = $comment;
} }
/** @var \elitedivision\amos\core\record\Record $contextModelClassName */ /** @var \arter\amos\core\record\Record $contextModelClassName */
$contextModelClassName = $model->context; $contextModelClassName = $model->context;
/** @var \elitedivision\amos\core\record\Record $contextModel */ /** @var \arter\amos\core\record\Record $contextModel */
$contextModel = $contextModelClassName::findOne($model->context_id); $contextModel = $contextModelClassName::findOne($model->context_id);
$users = $this->getRecipients($contextModel, $contextModelClassName); $users = $this->getRecipients($contextModel, $contextModelClassName);
...@@ -107,8 +107,8 @@ class PartecipantsNotification extends BaseObject ...@@ -107,8 +107,8 @@ class PartecipantsNotification extends BaseObject
$users = []; $users = [];
// If the context is discussion, the emails must be sent to the participants in the scope. // If the context is discussion, the emails must be sent to the participants in the scope.
if (Yii::$app->hasModule('discussioni') && ($contextModel instanceof \elitedivision\amos\discussioni\models\DiscussioniTopic)) { if (Yii::$app->hasModule('discussioni') && ($contextModel instanceof \arter\amos\discussioni\models\DiscussioniTopic)) {
/** @var \elitedivision\amos\discussioni\AmosDiscussioni $moduleDiscussioni */ /** @var \arter\amos\discussioni\AmosDiscussioni $moduleDiscussioni */
$moduleDiscussioni = Yii::$app->getModule('discussioni'); $moduleDiscussioni = Yii::$app->getModule('discussioni');
$session = \Yii::$app->session; $session = \Yii::$app->session;
$moduleCwh = \Yii::$app->getModule('cwh'); $moduleCwh = \Yii::$app->getModule('cwh');
...@@ -116,8 +116,8 @@ class PartecipantsNotification extends BaseObject ...@@ -116,8 +116,8 @@ class PartecipantsNotification extends BaseObject
if (!empty(\Yii::$app->params['isPoi']) && \Yii::$app->params['isPoi'] == true && !empty($scope) && !empty($scope['community']) if (!empty(\Yii::$app->params['isPoi']) && \Yii::$app->params['isPoi'] == true && !empty($scope) && !empty($scope['community'])
&& $scope['community'] == 2750) { && $scope['community'] == 2750) {
$communityManager = \elitedivision\amos\community\models\CommunityUserMm::find()->andWhere(['community_id' => 2750])->andWhere([ $communityManager = \arter\amos\community\models\CommunityUserMm::find()->andWhere(['community_id' => 2750])->andWhere([
'role' => \elitedivision\amos\community\models\Community::ROLE_COMMUNITY_MANAGER]); 'role' => \arter\amos\community\models\Community::ROLE_COMMUNITY_MANAGER]);
foreach ($communityManager->all() as $idComm) { foreach ($communityManager->all() as $idComm) {
$user = User::findOne($idComm->user_id); $user = User::findOne($idComm->user_id);
if (!is_null($user)) { if (!is_null($user)) {
...@@ -128,15 +128,15 @@ class PartecipantsNotification extends BaseObject ...@@ -128,15 +128,15 @@ class PartecipantsNotification extends BaseObject
if ($moduleDiscussioni->hasProperty('notifyOnlyContributors') && !$moduleDiscussioni->notifyOnlyContributors) { if ($moduleDiscussioni->hasProperty('notifyOnlyContributors') && !$moduleDiscussioni->notifyOnlyContributors) {
$moduleCwh = Yii::$app->getModule('cwh'); $moduleCwh = Yii::$app->getModule('cwh');
if (!is_null($moduleCwh)) { if (!is_null($moduleCwh)) {
/** @var \elitedivision\amos\cwh\AmosCwh $moduleCwh */ /** @var \arter\amos\cwh\AmosCwh $moduleCwh */
if (in_array(\elitedivision\amos\discussioni\models\DiscussioniTopic::className(), if (in_array(\arter\amos\discussioni\models\DiscussioniTopic::className(),
$moduleCwh->modelsEnabled)) { $moduleCwh->modelsEnabled)) {
$cwhActiveQuery = new \elitedivision\amos\cwh\query\CwhActiveQuery(\elitedivision\amos\discussioni\models\DiscussioniTopic::className()); $cwhActiveQuery = new \arter\amos\cwh\query\CwhActiveQuery(\arter\amos\discussioni\models\DiscussioniTopic::className());
if (in_array($contextModel->regola_pubblicazione, if (in_array($contextModel->regola_pubblicazione,
\elitedivision\amos\cwh\utility\CwhUtil::getNetworkCwhRuleIds())) { \arter\amos\cwh\utility\CwhUtil::getNetworkCwhRuleIds())) {
$queryUsers = $cwhActiveQuery->getRecipients($contextModel->regola_pubblicazione, $queryUsers = $cwhActiveQuery->getRecipients($contextModel->regola_pubblicazione,
$contextModel->tagValues, $contextModel->destinatari); $contextModel->tagValues, $contextModel->destinatari);
$queryUsers->andWhere(['<>', \elitedivision\amos\core\user\User::tableName().'.id', Yii::$app->user->id]); // Exclude logged user id $queryUsers->andWhere(['<>', \arter\amos\core\user\User::tableName().'.id', Yii::$app->user->id]); // Exclude logged user id
$users = ArrayHelper::map($queryUsers->all(), 'id', 'id'); $users = ArrayHelper::map($queryUsers->all(), 'id', 'id');
} }
} }
...@@ -195,8 +195,8 @@ class PartecipantsNotification extends BaseObject ...@@ -195,8 +195,8 @@ class PartecipantsNotification extends BaseObject
$user = User::findOne($id); $user = User::findOne($id);
if(!empty($moduleNotify)) { if(!empty($moduleNotify)) {
/** @var $notificationConf \elitedivision\amos\notificationmanager\models\NotificationConf */ /** @var $notificationConf \arter\amos\notificationmanager\models\NotificationConf */
$notificationConf = \elitedivision\amos\notificationmanager\models\NotificationConf::find() $notificationConf = \arter\amos\notificationmanager\models\NotificationConf::find()
->andWhere(['user_id' => $id]) ->andWhere(['user_id' => $id])
->one(); ->one();
if($notificationConf->hasProperty('notifications_enabled') && ($notificationConf->notify_comments == 0 || $notificationConf->notifications_enabled == 0)){ if($notificationConf->hasProperty('notifications_enabled') && ($notificationConf->notify_comments == 0 || $notificationConf->notifications_enabled == 0)){
......
...@@ -5,23 +5,23 @@ ...@@ -5,23 +5,23 @@
* OPEN 2.0 * OPEN 2.0
* *
* *
* @package elitedivision\amos\comments\components * @package arter\amos\comments\components
* @category CategoryName * @category CategoryName
* @author Elite Division S.r.l. * @author Elite Division S.r.l.
*/ */
namespace elitedivision\amos\comments\components; namespace arter\amos\comments\components;
use elitedivision\amos\comments\AmosComments; use arter\amos\comments\AmosComments;
use elitedivision\amos\comments\models\CommentInterface; use arter\amos\comments\models\CommentInterface;
use elitedivision\amos\comments\widgets\CommentsWidget; use arter\amos\comments\widgets\CommentsWidget;
use Yii; use Yii;
use yii\base\Component; use yii\base\Component;
use yii\base\Event; use yii\base\Event;
/** /**
* Class CommentComponent * Class CommentComponent
* @package elitedivision\amos\events\components * @package arter\amos\events\components
*/ */
class CommentComponent extends Component implements CommentComponentInterface class CommentComponent extends Component implements CommentComponentInterface
{ {
...@@ -32,7 +32,7 @@ class CommentComponent extends Component implements CommentComponentInterface ...@@ -32,7 +32,7 @@ class CommentComponent extends Component implements CommentComponentInterface
public function showComments(Event $event) public function showComments(Event $event)
{ {
if (isset(Yii::$app->controller->model)) { if (isset(Yii::$app->controller->model)) {
/** @var \elitedivision\amos\core\record\Record $controllerModel */ /** @var \arter\amos\core\record\Record $controllerModel */
$controllerModel = Yii::$app->controller->model; $controllerModel = Yii::$app->controller->model;
if ($this->checkCommentsModuleEnabled($controllerModel) && $this->checkCommentsEnabledOnModel($controllerModel)) { if ($this->checkCommentsModuleEnabled($controllerModel) && $this->checkCommentsEnabledOnModel($controllerModel)) {
echo CommentsWidget::widget([ echo CommentsWidget::widget([
...@@ -45,7 +45,7 @@ class CommentComponent extends Component implements CommentComponentInterface ...@@ -45,7 +45,7 @@ class CommentComponent extends Component implements CommentComponentInterface
/** /**
* The method checks if the comment module is present and the actual controller * The method checks if the comment module is present and the actual controller
* model class name is present in the comments module configurations. * model class name is present in the comments module configurations.
* @param \elitedivision\amos\core\record\Record $controllerModel * @param \arter\amos\core\record\Record $controllerModel
* @return bool * @return bool
*/ */
protected function checkCommentsModuleEnabled($controllerModel) protected function checkCommentsModuleEnabled($controllerModel)
...@@ -62,7 +62,7 @@ class CommentComponent extends Component implements CommentComponentInterface ...@@ -62,7 +62,7 @@ class CommentComponent extends Component implements CommentComponentInterface
/** /**
* Method that checks if the controller model is an instance of CommentInterface * Method that checks if the controller model is an instance of CommentInterface
* and then if the model is commentable. * and then if the model is commentable.
* @param \elitedivision\amos\core\record\Record $controllerModel * @param \arter\amos\core\record\Record $controllerModel
* @return bool * @return bool
*/ */
protected function checkCommentsEnabledOnModel($controllerModel) protected function checkCommentsEnabledOnModel($controllerModel)
......
...@@ -5,18 +5,18 @@ ...@@ -5,18 +5,18 @@
* OPEN 2.0 * OPEN 2.0
* *
* *
* @package elitedivision\amos\comments\components * @package arter\amos\comments\components
* @category CategoryName * @category CategoryName
* @author Elite Division S.r.l. * @author Elite Division S.r.l.
*/ */
namespace elitedivision\amos\comments\components; namespace arter\amos\comments\components;
use yii\base\Event; use yii\base\Event;
/** /**
* Interface CommentComponentInterface * Interface CommentComponentInterface
* @package elitedivision\amos\comments\components * @package arter\amos\comments\components
*/ */
interface CommentComponentInterface interface CommentComponentInterface
{ {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* OPEN 2.0 * OPEN 2.0
* *
*