add admin controller and many updates
This commit is contained in:
23
lib/User/Service/UserBlockService.php
Normal file
23
lib/User/Service/UserBlockService.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace Da\User\Service;
|
||||
|
||||
use Da\User\Contracts\ServiceInterface;
|
||||
use Da\User\Event\UserEvent;
|
||||
use Da\User\Model\User;
|
||||
|
||||
class UserBlockService implements ServiceInterface
|
||||
{
|
||||
protected $model;
|
||||
protected $event;
|
||||
|
||||
public function __construct(User $model, UserEvent $event)
|
||||
{
|
||||
$this->model = $model;
|
||||
$this->event = $event;
|
||||
}
|
||||
|
||||
public function run()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user