@@ -3,15 +3,15 @@ |
||
| 3 | 3 | namespace flipbox\organizations\behaviors; |
| 4 | 4 | |
| 5 | 5 | use Craft; |
| 6 | +use Tightenco\Collect\Support\Collection; |
|
| 6 | 7 | use craft\elements\User; |
| 7 | 8 | use craft\events\ModelEvent; |
| 8 | 9 | use flipbox\craft\ember\helpers\QueryHelper; |
| 10 | +use flipbox\organizations\Organizations as OrganizationPlugin; |
|
| 9 | 11 | use flipbox\organizations\elements\Organization; |
| 10 | 12 | use flipbox\organizations\managers\OrganizationsToUserAssociatedManager; |
| 11 | -use flipbox\organizations\Organizations as OrganizationPlugin; |
|
| 12 | 13 | use flipbox\organizations\queries\OrganizationQuery; |
| 13 | 14 | use flipbox\organizations\validators\OrganizationsValidator; |
| 14 | -use Tightenco\Collect\Support\Collection; |
|
| 15 | 15 | use yii\base\Behavior; |
| 16 | 16 | use yii\base\Event; |
| 17 | 17 | use yii\base\Exception; |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace flipbox\organizations\behaviors; |
| 4 | 4 | |
| 5 | +use Tightenco\Collect\Support\Collection; |
|
| 5 | 6 | use craft\elements\User; |
| 6 | 7 | use flipbox\craft\ember\helpers\QueryHelper; |
| 7 | 8 | use flipbox\organizations\elements\Organization; |
| 8 | 9 | use flipbox\organizations\managers\UserTypeAssociationManager; |
| 9 | 10 | use flipbox\organizations\queries\UserTypeQuery; |
| 10 | 11 | use flipbox\organizations\records\UserType; |
| 11 | -use Tightenco\Collect\Support\Collection; |
|
| 12 | 12 | use yii\base\Behavior; |
| 13 | 13 | use yii\base\Exception; |
| 14 | 14 | |
@@ -9,11 +9,11 @@ |
||
| 9 | 9 | namespace flipbox\organizations\elements; |
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | +use Tightenco\Collect\Support\Collection; |
|
| 12 | 13 | use flipbox\craft\ember\helpers\QueryHelper; |
| 13 | 14 | use flipbox\organizations\managers\OrganizationTypeAssociationManager; |
| 14 | 15 | use flipbox\organizations\queries\OrganizationTypeQuery; |
| 15 | 16 | use flipbox\organizations\records\OrganizationType; |
| 16 | -use Tightenco\Collect\Support\Collection; |
|
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * @author Flipbox Factory <[email protected]> |
@@ -9,9 +9,9 @@ |
||
| 9 | 9 | namespace flipbox\organizations\managers; |
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | +use Tightenco\Collect\Support\Collection; |
|
| 12 | 13 | use craft\base\ElementInterface; |
| 13 | 14 | use craft\helpers\ArrayHelper; |
| 14 | -use Tightenco\Collect\Support\Collection; |
|
| 15 | 15 | use yii\base\Exception; |
| 16 | 16 | use yii\db\ActiveRecord; |
| 17 | 17 | use yii\db\QueryInterface; |