1
0
mirror of https://github.com/flarum/core.git synced 2025-10-14 00:15:51 +02:00
Files
php-flarum/src/Core/Groups/Commands/CreateGroup.php
2015-07-31 20:10:49 +09:30

31 lines
559 B
PHP

<?php namespace Flarum\Core\Groups\Commands;
use Flarum\Core\Users\User;
class CreateGroup
{
/**
* The user performing the action.
*
* @var User
*/
public $actor;
/**
* The attributes of the new group.
*
* @var array
*/
public $data;
/**
* @param User $actor The user performing the action.
* @param array $data The attributes of the new group.
*/
public function __construct(User $actor, array $data)
{
$this->actor = $actor;
$this->data = $data;
}
}