mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge branch 'dia' of https://github.com/openclassify/openclassify
This commit is contained in:
commit
5c90571524
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryCollection;
|
||||
|
||||
class AdressCollection extends EntryCollection
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryCriteria;
|
||||
|
||||
class AdressCriteria extends EntryCriteria
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,6 +1,5 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress;
|
||||
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Visiosoft\LocationModule\City\Contract\CityRepositoryInterface;
|
||||
use Visiosoft\LocationModule\Country\Contract\CountryRepositoryInterface;
|
||||
use Visiosoft\ProfileModule\Adress\Contract\AdressInterface;
|
||||
@ -10,9 +9,10 @@ class AdressModel extends ProfileAdressEntryModel implements AdressInterface
|
||||
{
|
||||
public function getAdress($id = null)
|
||||
{
|
||||
if ($id == null) {
|
||||
if (!$id) {
|
||||
return AdressModel::query();
|
||||
}
|
||||
|
||||
return AdressModel::query()->where('id', $id)->whereNull('deleted_at');
|
||||
}
|
||||
|
||||
@ -23,10 +23,9 @@ class AdressModel extends ProfileAdressEntryModel implements AdressInterface
|
||||
|
||||
public function getUserAdress($id = null)
|
||||
{
|
||||
if ($id != null) {
|
||||
return $this->query()->where('user_id', $id)->whereNull('deleted_at')->get();
|
||||
}
|
||||
return $this->query()->where('user_id', Auth::id())->whereNull('deleted_at')->get();
|
||||
$id = auth_id_if_null($id);
|
||||
|
||||
return $this->query()->where('user_id', $id)->whereNull('deleted_at')->get();
|
||||
}
|
||||
|
||||
public function getCountry()
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryObserver;
|
||||
|
||||
class AdressObserver extends EntryObserver
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryPresenter;
|
||||
|
||||
class AdressPresenter extends EntryPresenter
|
||||
{
|
||||
|
||||
}
|
||||
@ -5,19 +5,8 @@ use Anomaly\Streams\Platform\Entry\EntryRepository;
|
||||
|
||||
class AdressRepository extends EntryRepository implements AdressRepositoryInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* The entry model.
|
||||
*
|
||||
* @var AdressModel
|
||||
*/
|
||||
protected $model;
|
||||
|
||||
/**
|
||||
* Create a new AdressRepository instance.
|
||||
*
|
||||
* @param AdressModel $model
|
||||
*/
|
||||
public function __construct(AdressModel $model)
|
||||
{
|
||||
$this->model = $model;
|
||||
@ -25,7 +14,7 @@ class AdressRepository extends EntryRepository implements AdressRepositoryInterf
|
||||
|
||||
public function findByUser($user_id)
|
||||
{
|
||||
return $this->newQuery()->where('user_id', $user_id)->get();
|
||||
return $this->findAllBy('user_id', $user_id);
|
||||
}
|
||||
|
||||
public function createAddress($name, $user_id, $first_name, $last_name, $country_id, $city_id, $content, $gsm_phone)
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryRouter;
|
||||
|
||||
class AdressRouter extends EntryRouter
|
||||
{
|
||||
|
||||
}
|
||||
@ -4,10 +4,6 @@ use Anomaly\Streams\Platform\Database\Seeder\Seeder;
|
||||
|
||||
class AdressSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Run the seeder.
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
//
|
||||
|
||||
@ -1,34 +1,22 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress\Command;
|
||||
|
||||
|
||||
use Visiosoft\ProfileModule\Adress\Contract\AdressRepositoryInterface;
|
||||
|
||||
class GetAddress
|
||||
{
|
||||
|
||||
/**
|
||||
* @var $id
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* GetProduct constructor.
|
||||
* @param $id
|
||||
*/
|
||||
public function __construct($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param AdressRepositoryInterface $adressRepository
|
||||
* @return \Anomaly\Streams\Platform\Model\EloquentModel|null
|
||||
*/
|
||||
public function handle(AdressRepositoryInterface $adressRepository)
|
||||
public function handle(AdressRepositoryInterface $addressRepository)
|
||||
{
|
||||
if ($this->id) {
|
||||
return $adressRepository->find($this->id);
|
||||
return $addressRepository->find($this->id);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,34 +1,22 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress\Command;
|
||||
|
||||
|
||||
use Visiosoft\ProfileModule\Adress\Contract\AdressRepositoryInterface;
|
||||
|
||||
class GetAddressByUser
|
||||
{
|
||||
|
||||
/**
|
||||
* @var $id
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* GetProduct constructor.
|
||||
* @param $id
|
||||
*/
|
||||
public function __construct($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param AdressRepositoryInterface $adressRepository
|
||||
* @return \Anomaly\Streams\Platform\Model\EloquentModel|null
|
||||
*/
|
||||
public function handle(AdressRepositoryInterface $adressRepository)
|
||||
public function handle(AdressRepositoryInterface $addressRepository)
|
||||
{
|
||||
if ($this->id) {
|
||||
return $adressRepository->findByUser($this->id);
|
||||
return $addressRepository->findByUser($this->id);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,5 +4,13 @@ use Anomaly\Streams\Platform\Entry\Contract\EntryInterface;
|
||||
|
||||
interface AdressInterface extends EntryInterface
|
||||
{
|
||||
public function getAdress($id = null);
|
||||
|
||||
public function getAdressFirst($id);
|
||||
|
||||
public function getUserAdress($id = null);
|
||||
|
||||
public function getCountry();
|
||||
|
||||
public function getCity();
|
||||
}
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress\Form;
|
||||
|
||||
|
||||
class AdressFormFields
|
||||
{
|
||||
|
||||
public function handle(AdressFormBuilder $builder)
|
||||
{
|
||||
$builder->setFields(
|
||||
|
||||
@ -1,19 +1,10 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress\Form;
|
||||
|
||||
use Anomaly\UsersModule\User\Contract\UserInterface;
|
||||
use Anomaly\UsersModule\User\Event\UserHasRegistered;
|
||||
use Anomaly\UsersModule\User\Register\Command\HandleAutomaticRegistration;
|
||||
use Anomaly\UsersModule\User\Register\Command\HandleEmailRegistration;
|
||||
use Anomaly\UsersModule\User\Register\Command\HandleManualRegistration;
|
||||
use Anomaly\UsersModule\User\UserActivator;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
|
||||
class AdressFormHandler
|
||||
{
|
||||
|
||||
public function handle(
|
||||
AdressFormBuilder $builder)
|
||||
public function handle(AdressFormBuilder $builder)
|
||||
{
|
||||
if (!$builder->canSave()) {
|
||||
return;
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Adress\FormCompany;
|
||||
|
||||
|
||||
class AddressCompanyFormFields
|
||||
{
|
||||
|
||||
public function handle(AddressCompanyFormBuilder $builder)
|
||||
{
|
||||
$builder->setFields(
|
||||
|
||||
@ -2,12 +2,9 @@
|
||||
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
|
||||
class AddressCompanyFormHandler
|
||||
{
|
||||
|
||||
public function handle(
|
||||
AddressCompanyFormBuilder $builder)
|
||||
public function handle(AddressCompanyFormBuilder $builder)
|
||||
{
|
||||
if (!$builder->canSave()) {
|
||||
return;
|
||||
|
||||
@ -4,20 +4,6 @@ use Anomaly\Streams\Platform\Ui\Table\TableBuilder;
|
||||
|
||||
class AdressTableBuilder extends TableBuilder
|
||||
{
|
||||
|
||||
/**
|
||||
* The table views.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $views = [
|
||||
];
|
||||
|
||||
/**
|
||||
* The table filters.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $filters = [
|
||||
'search' => [
|
||||
'filter' => 'search',
|
||||
@ -27,11 +13,6 @@ class AdressTableBuilder extends TableBuilder
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* The table columns.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $columns = [
|
||||
'first_name' => 'entry.user.first_name',
|
||||
'last_name' => 'entry.user.last_name',
|
||||
@ -39,11 +20,6 @@ class AdressTableBuilder extends TableBuilder
|
||||
'adress_gsm_phone'
|
||||
];
|
||||
|
||||
/**
|
||||
* The table buttons.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $buttons = [
|
||||
'show' => [
|
||||
'type' => 'primary',
|
||||
@ -52,27 +28,7 @@ class AdressTableBuilder extends TableBuilder
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* The table actions.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $actions = [
|
||||
'delete'
|
||||
];
|
||||
|
||||
/**
|
||||
* The table options.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $options = [];
|
||||
|
||||
/**
|
||||
* The table assets.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $assets = [];
|
||||
|
||||
}
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Education;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryCollection;
|
||||
|
||||
class EducationCollection extends EntryCollection
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Education;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryCriteria;
|
||||
|
||||
class EducationCriteria extends EntryCriteria
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Education;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryObserver;
|
||||
|
||||
class EducationObserver extends EntryObserver
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Education;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryPresenter;
|
||||
|
||||
class EducationPresenter extends EntryPresenter
|
||||
{
|
||||
|
||||
}
|
||||
@ -5,19 +5,8 @@ use Anomaly\Streams\Platform\Entry\EntryRepository;
|
||||
|
||||
class EducationRepository extends EntryRepository implements EducationRepositoryInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* The entry model.
|
||||
*
|
||||
* @var EducationModel
|
||||
*/
|
||||
protected $model;
|
||||
|
||||
/**
|
||||
* Create a new EducationRepository instance.
|
||||
*
|
||||
* @param EducationModel $model
|
||||
*/
|
||||
public function __construct(EducationModel $model)
|
||||
{
|
||||
$this->model = $model;
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Education;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryRouter;
|
||||
|
||||
class EducationRouter extends EntryRouter
|
||||
{
|
||||
|
||||
}
|
||||
@ -5,10 +5,6 @@ use Visiosoft\ProfileModule\Education\Contract\EducationRepositoryInterface;
|
||||
|
||||
class EducationSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Run the seeder.
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$repository = app(EducationRepositoryInterface::class);
|
||||
|
||||
@ -4,11 +4,6 @@ use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
|
||||
|
||||
class EducationFormBuilder extends FormBuilder
|
||||
{
|
||||
/**
|
||||
* The form buttons.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $buttons = [
|
||||
'cancel',
|
||||
];
|
||||
|
||||
@ -4,20 +4,10 @@ use Anomaly\Streams\Platform\Ui\Table\TableBuilder;
|
||||
|
||||
class EducationTableBuilder extends TableBuilder
|
||||
{
|
||||
/**
|
||||
* The table buttons.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $buttons = [
|
||||
'edit'
|
||||
];
|
||||
|
||||
/**
|
||||
* The table actions.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $actions = [
|
||||
'delete'
|
||||
];
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\EducationPart;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryCollection;
|
||||
|
||||
class EducationPartCollection extends EntryCollection
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\EducationPart;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryCriteria;
|
||||
|
||||
class EducationPartCriteria extends EntryCriteria
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\EducationPart;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryObserver;
|
||||
|
||||
class EducationPartObserver extends EntryObserver
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\EducationPart;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryPresenter;
|
||||
|
||||
class EducationPartPresenter extends EntryPresenter
|
||||
{
|
||||
|
||||
}
|
||||
@ -5,19 +5,8 @@ use Anomaly\Streams\Platform\Entry\EntryRepository;
|
||||
|
||||
class EducationPartRepository extends EntryRepository implements EducationPartRepositoryInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* The entry model.
|
||||
*
|
||||
* @var EducationPartModel
|
||||
*/
|
||||
protected $model;
|
||||
|
||||
/**
|
||||
* Create a new EducationPartRepository instance.
|
||||
*
|
||||
* @param EducationPartModel $model
|
||||
*/
|
||||
public function __construct(EducationPartModel $model)
|
||||
{
|
||||
$this->model = $model;
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\EducationPart;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryRouter;
|
||||
|
||||
class EducationPartRouter extends EntryRouter
|
||||
{
|
||||
|
||||
}
|
||||
@ -1,15 +0,0 @@
|
||||
<?php namespace Visiosoft\ProfileModule\EducationPart;
|
||||
|
||||
use Anomaly\Streams\Platform\Database\Seeder\Seeder;
|
||||
|
||||
class EducationPartSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Run the seeder.
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@ -4,11 +4,6 @@ use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
|
||||
|
||||
class EducationPartFormBuilder extends FormBuilder
|
||||
{
|
||||
/**
|
||||
* The form buttons.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $buttons = [
|
||||
'cancel',
|
||||
];
|
||||
|
||||
@ -4,20 +4,10 @@ use Anomaly\Streams\Platform\Ui\Table\TableBuilder;
|
||||
|
||||
class EducationPartTableBuilder extends TableBuilder
|
||||
{
|
||||
/**
|
||||
* The table buttons.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $buttons = [
|
||||
'edit'
|
||||
];
|
||||
|
||||
/**
|
||||
* The table actions.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $actions = [
|
||||
'delete'
|
||||
];
|
||||
|
||||
@ -1,12 +1,7 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Http\Controller;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\Contract\EntryInterface;
|
||||
use Anomaly\Streams\Platform\Model\Profile\ProfileAdressEntryModel;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Visiosoft\LocationModule\City\Contract\CityRepositoryInterface;
|
||||
use Visiosoft\ProfileModule\Adress\AdressModel;
|
||||
use Visiosoft\ProfileModule\Adress\Form\AdressFormBuilder;
|
||||
use Visiosoft\ProfileModule\Adress\Table\AdressTableBuilder;
|
||||
use Anomaly\Streams\Platform\Http\Controller\AdminController;
|
||||
|
||||
|
||||
@ -10,13 +10,6 @@ use Anomaly\Streams\Platform\Http\Controller\AdminController;
|
||||
|
||||
class AdressController extends AdminController
|
||||
{
|
||||
|
||||
/**
|
||||
* Display an index of existing entries.
|
||||
*
|
||||
* @param AdressTableBuilder $table
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function index(AdressTableBuilder $table)
|
||||
{
|
||||
$table->setColumns(array_merge($table->getColumns(), [
|
||||
@ -30,12 +23,6 @@ class AdressController extends AdminController
|
||||
return $table->render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new entry.
|
||||
*
|
||||
* @param AdressFormBuilder $form
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function create(AdressFormBuilder $form)
|
||||
{
|
||||
$form->setOption('heading', "visiosoft.module.profile::field");
|
||||
@ -43,13 +30,6 @@ class AdressController extends AdminController
|
||||
return $form->render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Edit an existing entry.
|
||||
*
|
||||
* @param AdressFormBuilder $form
|
||||
* @param $id
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function edit(AdressFormBuilder $form, $id)
|
||||
{
|
||||
$form->setOption('heading', "visiosoft.module.profile::field");
|
||||
@ -60,19 +40,20 @@ class AdressController extends AdminController
|
||||
public function adressUpdate(AdressFormBuilder $form,Request $request,$id)
|
||||
{
|
||||
$error = $form->build()->validate()->getFormErrors()->getMessages();
|
||||
if(!empty($error))
|
||||
{
|
||||
|
||||
if(!empty($error)) {
|
||||
return $this->redirect->back();
|
||||
}
|
||||
|
||||
$New_value = $request->all();
|
||||
unset($New_value['_token'],$New_value['action']);
|
||||
unset($New_value['_token'], $New_value['action']);
|
||||
ProfileAdressEntryModel::find($id)->update($New_value);
|
||||
$message = [];
|
||||
$message[] = trans('visiosoft.module.profile::message.adress_success_update');
|
||||
if($request->get('action') == "save_create")
|
||||
{
|
||||
if ($request->get('action') == "save_create") {
|
||||
return redirect('admin/profile/adress/create')->with('success', $message);
|
||||
}
|
||||
|
||||
return $this->redirect->back()->with('success', $message);
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,36 +6,16 @@ use Anomaly\Streams\Platform\Http\Controller\AdminController;
|
||||
|
||||
class EducationController extends AdminController
|
||||
{
|
||||
|
||||
/**
|
||||
* Display an index of existing entries.
|
||||
*
|
||||
* @param EducationTableBuilder $table
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function index(EducationTableBuilder $table)
|
||||
{
|
||||
return $table->render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new entry.
|
||||
*
|
||||
* @param EducationFormBuilder $form
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function create(EducationFormBuilder $form)
|
||||
{
|
||||
return $form->render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Edit an existing entry.
|
||||
*
|
||||
* @param EducationFormBuilder $form
|
||||
* @param $id
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function edit(EducationFormBuilder $form, $id)
|
||||
{
|
||||
return $form->render($id);
|
||||
|
||||
@ -6,36 +6,16 @@ use Anomaly\Streams\Platform\Http\Controller\AdminController;
|
||||
|
||||
class EducationPartController extends AdminController
|
||||
{
|
||||
|
||||
/**
|
||||
* Display an index of existing entries.
|
||||
*
|
||||
* @param EducationPartTableBuilder $table
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function index(EducationPartTableBuilder $table)
|
||||
{
|
||||
return $table->render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new entry.
|
||||
*
|
||||
* @param EducationPartFormBuilder $form
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function create(EducationPartFormBuilder $form)
|
||||
{
|
||||
return $form->render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Edit an existing entry.
|
||||
*
|
||||
* @param EducationPartFormBuilder $form
|
||||
* @param $id
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function edit(EducationPartFormBuilder $form, $id)
|
||||
{
|
||||
return $form->render($id);
|
||||
|
||||
@ -6,13 +6,11 @@ use Anomaly\Streams\Platform\Model\Users\UsersUsersEntryModel;
|
||||
use Anomaly\UsersModule\User\Contract\UserRepositoryInterface;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Rinvex\Subscriptions\Models\Plan;
|
||||
use Visiosoft\AdvsModule\Adv\AdvModel;
|
||||
use Visiosoft\AdvsModule\Adv\Event\ChangeStatusAd;
|
||||
use Visiosoft\AdvsModule\Status\Contract\StatusRepositoryInterface;
|
||||
use Visiosoft\LocationModule\Country\CountryModel;
|
||||
use Visiosoft\AlgoliaModule\Search\SearchModel;
|
||||
use Visiosoft\CloudsiteModule\CloudsiteModule;
|
||||
use Visiosoft\PackagesModule\Http\Controller\PackageFEController;
|
||||
use Visiosoft\MessagesModule\Message\MessageModel;
|
||||
use Visiosoft\PackagesModule\Package\PackageModel;
|
||||
@ -65,7 +63,6 @@ class MyProfileController extends PublicController
|
||||
$isActivePackages = $isActivePackages->is_enabled('packages');
|
||||
|
||||
if ($isActivePackages) {
|
||||
|
||||
//Search Last Time Packages By User
|
||||
$TimePackages = new PackageFEController();
|
||||
$LastTimePackages = $TimePackages->getPackagesByUser('lasttime');
|
||||
|
||||
@ -7,24 +7,14 @@ use Anomaly\UsersModule\User\Contract\UserInterface;
|
||||
use Anomaly\UsersModule\User\Contract\UserRepositoryInterface;
|
||||
use Anomaly\UsersModule\User\Event\UserWasLoggedIn;
|
||||
use Visiosoft\AdvsModule\Adv\AdvModel;
|
||||
use Visiosoft\CloudsiteModule\Site\Event\CreateSite;
|
||||
use Illuminate\Contracts\Auth\Guard;
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Redirect;
|
||||
use Visiosoft\CloudsiteModule\Site\SiteModel;
|
||||
use Visiosoft\ProfileModule\Profile\ProfileRepository;
|
||||
use Visiosoft\SubscriptionsModule\User\UserModel;
|
||||
|
||||
/**
|
||||
* Class UserAuthenticator
|
||||
*
|
||||
* @link http://visiosoft.com.tr/
|
||||
* @author Visiosoft, Inc. <support@visiosoft.com.tr>
|
||||
* @author Vedat Akdoğan <vedat@visiosoft.com.tr>
|
||||
*/
|
||||
class UserAuthenticator
|
||||
{
|
||||
protected $guard;
|
||||
@ -34,7 +24,6 @@ class UserAuthenticator
|
||||
protected $settings;
|
||||
protected $advModel;
|
||||
|
||||
|
||||
public function __construct(
|
||||
Guard $guard,
|
||||
Dispatcher $events,
|
||||
@ -51,14 +40,6 @@ class UserAuthenticator
|
||||
$this->settings = $settings;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempt to login a user.
|
||||
*
|
||||
* @param array $credentials
|
||||
* @param bool $remember
|
||||
* @return bool|UserInterface
|
||||
*/
|
||||
|
||||
function valid_email($email)
|
||||
{
|
||||
return !!filter_var($email, FILTER_VALIDATE_EMAIL);
|
||||
@ -103,12 +84,6 @@ class UserAuthenticator
|
||||
return Redirect::back()->with('error', [trans('visiosoft.module.profile::message.login_error')]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempt to authenticate the credentials.
|
||||
*
|
||||
* @param array $credentials
|
||||
* @return bool|UserInterface
|
||||
*/
|
||||
public function authenticate(array $credentials)
|
||||
{
|
||||
$authenticators = $this->extensions
|
||||
@ -132,12 +107,6 @@ class UserAuthenticator
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Force login a user.
|
||||
*
|
||||
* @param UserInterface $user
|
||||
* @param bool $remember
|
||||
*/
|
||||
public function login(UserInterface $user, $remember = false)
|
||||
{
|
||||
$this->guard->login($user, $remember);
|
||||
|
||||
@ -4,16 +4,8 @@ use Anomaly\UsersModule\User\Contract\UserRepositoryInterface;
|
||||
|
||||
class GetProfileDetail
|
||||
{
|
||||
|
||||
/**
|
||||
* @var $id
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* GetProduct constructor.
|
||||
* @param $id
|
||||
*/
|
||||
public function __construct($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
|
||||
@ -5,12 +5,6 @@ use Anomaly\UsersModule\User\Validation\ValidateEmail;
|
||||
|
||||
class ProfileFormBuilder extends FormBuilder
|
||||
{
|
||||
|
||||
/**
|
||||
* The form fields.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $fields = [
|
||||
'email' => [
|
||||
'instructions' => false,
|
||||
@ -26,55 +20,7 @@ class ProfileFormBuilder extends FormBuilder
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Additional validation rules.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $rules = [];
|
||||
|
||||
/**
|
||||
* Fields to skip.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $skips = [];
|
||||
|
||||
/**
|
||||
* The form actions.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $actions = [];
|
||||
|
||||
/**
|
||||
* The form buttons.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $buttons = [
|
||||
'cancel',
|
||||
];
|
||||
|
||||
/**
|
||||
* The form options.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $options = [];
|
||||
|
||||
/**
|
||||
* The form sections.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $sections = [];
|
||||
|
||||
/**
|
||||
* The form assets.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $assets = [];
|
||||
|
||||
}
|
||||
|
||||
@ -7,27 +7,12 @@ class ForgotPassFormBuilder extends FormBuilder
|
||||
{
|
||||
protected $user = null;
|
||||
|
||||
/**
|
||||
* No model.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $model = false;
|
||||
|
||||
/**
|
||||
* The form actions.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $actions = [
|
||||
'submit',
|
||||
];
|
||||
|
||||
/**
|
||||
* The form options.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $options = [
|
||||
'redirect' => '/',
|
||||
];
|
||||
|
||||
@ -2,12 +2,6 @@
|
||||
|
||||
class ForgotPassFormFields
|
||||
{
|
||||
|
||||
/**
|
||||
* Handle the fields.
|
||||
*
|
||||
* @param ForgotPassFormBuilder $builder
|
||||
*/
|
||||
public function handle(ForgotPassFormBuilder $builder)
|
||||
{
|
||||
$builder->setFields(
|
||||
|
||||
@ -8,16 +8,6 @@ use Visiosoft\ProfileModule\Profile\Events\SendForgotPasswordSms;
|
||||
|
||||
class ForgotPassFormHandler
|
||||
{
|
||||
|
||||
/**
|
||||
* Handle the form.
|
||||
*
|
||||
* @param ForgotPassFormBuilder $builder
|
||||
* @param UserRepositoryInterface $users
|
||||
* @param UserPassword $password
|
||||
* @param MessageBag $messages
|
||||
* @param Repository $config
|
||||
*/
|
||||
public function handle(
|
||||
ForgotPassFormBuilder $builder,
|
||||
UserRepositoryInterface $users,
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
|
||||
|
||||
|
||||
class PasswordFormBuilder extends FormBuilder
|
||||
{
|
||||
protected $fields = [
|
||||
|
||||
@ -4,11 +4,9 @@ use Anomaly\Streams\Platform\Entry\EntryPresenter;
|
||||
|
||||
class ProfilePresenter extends EntryPresenter
|
||||
{
|
||||
|
||||
public function getNotification($type) {
|
||||
$value = $this->object->$type;
|
||||
if($value == 1)
|
||||
{
|
||||
if ($value == 1) {
|
||||
return "checked";
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,17 +8,6 @@ use Illuminate\Http\Request;
|
||||
|
||||
class HandleActivateRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* Handle the command.
|
||||
*
|
||||
* @param UserRepositoryInterface $users
|
||||
* @param UserAuthenticator $authenticator
|
||||
* @param UserActivator $activator
|
||||
* @param Encrypter $encrypter
|
||||
* @param Request $request
|
||||
* @return bool
|
||||
*/
|
||||
public function handle(
|
||||
UserRepositoryInterface $users,
|
||||
UserAuthenticator $authenticator,
|
||||
|
||||
@ -6,14 +6,6 @@ use Visiosoft\ProfileModule\Profile\Register2\Register2FormBuilder;
|
||||
use Anomaly\UsersModule\User\UserActivator;
|
||||
use Anomaly\UsersModule\User\UserAuthenticator;
|
||||
|
||||
|
||||
/**
|
||||
* Class HandleAutomaticRegistration
|
||||
*
|
||||
* @link http://openclassify.com/
|
||||
* @author OpenClassify, Inc. <support@openclassify.com>
|
||||
* @author Visiosoft Inc <support@openclassify.com>
|
||||
*/
|
||||
class HandleAutomaticRegistration
|
||||
{
|
||||
protected $builder;
|
||||
@ -23,13 +15,6 @@ class HandleAutomaticRegistration
|
||||
$this->builder = $builder;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the command.
|
||||
*
|
||||
* @param UserAuthenticator $authenticator
|
||||
* @param UserActivator $activator
|
||||
* @param MessageBag $messages
|
||||
*/
|
||||
public function handle(UserAuthenticator $authenticator, UserActivator $activator, MessageBag $messages)
|
||||
{
|
||||
/* @var UserInterface $user */
|
||||
@ -44,5 +29,4 @@ class HandleAutomaticRegistration
|
||||
|
||||
$messages->success('anomaly.module.users::message.logged_in');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -14,12 +14,6 @@ class HandleEmailRegistration
|
||||
$this->builder = $builder;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the command.
|
||||
*
|
||||
* @param UserActivator $activator
|
||||
* @param MessageBag $messages
|
||||
*/
|
||||
public function handle(UserActivator $activator, MessageBag $messages)
|
||||
{
|
||||
/* @var UserInterface $user */
|
||||
|
||||
@ -7,13 +7,6 @@ use Visiosoft\ProfileModule\Profile\Register2\Register2FormBuilder;
|
||||
use Illuminate\Contracts\Config\Repository;
|
||||
use Illuminate\Notifications\AnonymousNotifiable;
|
||||
|
||||
/**
|
||||
* Class HandleManualRegistration
|
||||
*
|
||||
* @link http://openclassify.com/
|
||||
* @author OpenClassify, Inc. <support@openclassify.com>
|
||||
* @author Visiosoft Inc <support@openclassify.com>
|
||||
*/
|
||||
class HandleManualRegistration
|
||||
{
|
||||
protected $builder;
|
||||
@ -23,12 +16,6 @@ class HandleManualRegistration
|
||||
$this->builder = $builder;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the command.
|
||||
*
|
||||
* @param MessageBag $messages
|
||||
* @param Repository $config
|
||||
*/
|
||||
public function handle(MessageBag $messages, Repository $config)
|
||||
{
|
||||
if (!is_null($message = $this->builder->getFormOption('pending_message'))) {
|
||||
|
||||
@ -1,51 +1,22 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Profile\Register2;
|
||||
|
||||
use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\Register2\Command\SetOptions;
|
||||
use Anomaly\UsersModule\User\UserModel;
|
||||
|
||||
/**
|
||||
* Class RegisterFormBuilder
|
||||
*
|
||||
* @link http://openclassify.com/
|
||||
* @author OpenClassify, Inc. <support@openclassify.com>
|
||||
* @author Visiosoft Inc <support@openclassify.com>
|
||||
*/
|
||||
class Register2FormBuilder extends FormBuilder
|
||||
{
|
||||
|
||||
/**
|
||||
* The form roles.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $roles = [
|
||||
'user',
|
||||
];
|
||||
|
||||
/**
|
||||
* The form model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $model = UserModel::class;
|
||||
|
||||
/**
|
||||
* The form actions.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $actions = [
|
||||
'blue' => [
|
||||
'text' => 'anomaly.module.users::button.register',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* The form options.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $options = [
|
||||
'redirect' => '/',
|
||||
'success_message' => 'anomaly.module.users::success.user_registered',
|
||||
@ -54,22 +25,11 @@ class Register2FormBuilder extends FormBuilder
|
||||
'activated_message' => 'anomaly.module.users::message.account_activated',
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the roles.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getRoles()
|
||||
{
|
||||
return $this->roles;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set roles.
|
||||
*
|
||||
* @param $roles
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoles($roles)
|
||||
{
|
||||
$this->roles = $roles;
|
||||
|
||||
@ -7,7 +7,6 @@ use Anomaly\UsersModule\User\Event\UserHasRegistered;
|
||||
use Anomaly\UsersModule\User\UserActivator;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Visiosoft\ProfileModule\Profile\Register2\Command\HandleAutomaticRegistration;
|
||||
use Visiosoft\ProfileModule\Profile\Register2\Command\HandleEmailRegistration;
|
||||
use Visiosoft\ProfileModule\Profile\Register2\Command\HandleManualRegistration;
|
||||
|
||||
@ -5,7 +5,6 @@ use Anomaly\UsersModule\User\Contract\UserInterface;
|
||||
use Anomaly\UsersModule\User\UserSecurity;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
|
||||
class SignInFormBuilder extends FormBuilder
|
||||
{
|
||||
protected $model = false;
|
||||
|
||||
@ -5,7 +5,6 @@ use Anomaly\UsersModule\User\UserSecurity;
|
||||
use Illuminate\Routing\Redirector;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
|
||||
class SignInFormHandler
|
||||
{
|
||||
public function handle(
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
|
||||
use Anomaly\UsersModule\User\UserModel;
|
||||
|
||||
|
||||
class UserFormBuilder extends FormBuilder
|
||||
{
|
||||
|
||||
|
||||
@ -7,9 +7,6 @@ use Maatwebsite\Excel\Concerns\WithMapping;
|
||||
|
||||
class UsersExport implements WithMapping, FromCollection, WithHeadings
|
||||
{
|
||||
/**
|
||||
* @return User[]|\Illuminate\Database\Eloquent\Collection|\Illuminate\Support\Collection
|
||||
*/
|
||||
public function collection()
|
||||
{
|
||||
return User::all();
|
||||
|
||||
@ -10,7 +10,6 @@ use Symfony\Component\HttpFoundation\Response;
|
||||
use Visiosoft\ProfileModule\Profile\Events\SendEmptyPassword;
|
||||
use Visiosoft\ProfileModule\Profile\SignIn\SignInFormBuilder;
|
||||
|
||||
|
||||
class ValidateCredentials
|
||||
{
|
||||
private $extensions;
|
||||
@ -101,7 +100,6 @@ class ValidateCredentials
|
||||
|
||||
public function handle(SignInFormBuilder $builder)
|
||||
{
|
||||
|
||||
if (!$response = $this->authenticate($builder->getPostData())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -14,6 +14,7 @@ class ValidateRegister
|
||||
$builder->addFormError('phone', trans('visiosoft.module.profile::message.registered_phone'));
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,79 +1,27 @@
|
||||
<?php namespace Visiosoft\ProfileModule\Profile\sites;
|
||||
|
||||
use Anomaly\Streams\Platform\Ui\Form\FormBuilder;
|
||||
use Rinvex\Subscriptions\Models\Plan;
|
||||
use Visiosoft\CloudsiteModule\Site\SiteModel;
|
||||
|
||||
class SitesFormBuilder extends FormBuilder
|
||||
{
|
||||
|
||||
protected $model = SiteModel::class;
|
||||
|
||||
/**
|
||||
* The form fields.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
|
||||
protected $fields = [
|
||||
'subdomain'
|
||||
];
|
||||
|
||||
/**
|
||||
* Additional validation rules.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $rules = [];
|
||||
|
||||
/**
|
||||
* Fields to skip.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $skips = [];
|
||||
|
||||
/**
|
||||
* The form actions.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $actions = [
|
||||
'save' => [
|
||||
'text' => 'visiosoft.module.subscriptions::button.create',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* The form buttons.
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected $buttons = [
|
||||
'cancel',
|
||||
];
|
||||
|
||||
/**
|
||||
* The form options.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $options = [
|
||||
'redirect' => '/admin/subscriptions/',
|
||||
];
|
||||
|
||||
/**
|
||||
* The form sections.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $sections = [];
|
||||
|
||||
/**
|
||||
* The form assets.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $assets = [];
|
||||
|
||||
}
|
||||
|
||||
@ -4,26 +4,10 @@ use Anomaly\Streams\Platform\Addon\Module\Module;
|
||||
|
||||
class ProfileModule extends Module
|
||||
{
|
||||
|
||||
/**
|
||||
* The navigation display flag.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $navigation = true;
|
||||
|
||||
/**
|
||||
* The addon icon.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $icon = 'fa fa-user';
|
||||
|
||||
/**
|
||||
* The module sections.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $sections = [
|
||||
'adress' => [
|
||||
'buttons' => [
|
||||
@ -41,5 +25,4 @@ class ProfileModule extends Module
|
||||
]
|
||||
],
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@ -7,9 +7,6 @@ use Visiosoft\ProfileModule\Profile\Command\GetProfileDetail;
|
||||
|
||||
class ProfileModulePlugin extends Plugin
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getFunctions()
|
||||
{
|
||||
return [
|
||||
|
||||
@ -1,45 +1,11 @@
|
||||
<?php namespace Visiosoft\ProfileModule;
|
||||
|
||||
use Anomaly\FilesModule\Disk\Contract\DiskRepositoryInterface;
|
||||
use Anomaly\FilesModule\Folder\Contract\FolderRepositoryInterface;
|
||||
use Anomaly\Streams\Platform\Database\Seeder\Seeder;
|
||||
use Visiosoft\ProfileModule\Education\EducationSeeder;
|
||||
use Visiosoft\ProfileModule\Seed\UsersFieldsSeeder;
|
||||
|
||||
class ProfileModuleSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* The disk repository.
|
||||
*
|
||||
* @var DiskRepositoryInterface
|
||||
*/
|
||||
protected $disks;
|
||||
|
||||
/**
|
||||
* The folder repository.
|
||||
*
|
||||
* @var FolderRepositoryInterface
|
||||
*/
|
||||
protected $folders;
|
||||
|
||||
/**
|
||||
* Create a new FolderSeeder instance.
|
||||
*
|
||||
* @param DiskRepositoryInterface $disks
|
||||
* @param FolderRepositoryInterface $folders
|
||||
*/
|
||||
public function __construct(DiskRepositoryInterface $disks, FolderRepositoryInterface $folders)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->disks = $disks;
|
||||
$this->folders = $folders;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the seeder.
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
// Users Fields Seeder
|
||||
|
||||
@ -19,7 +19,6 @@ use Visiosoft\ProfileModule\Http\Middleware\OGImage;
|
||||
use Visiosoft\ProfileModule\Profile\Password\ForgotPassFormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\Password\PasswordFormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\Profile\ProfileFormBuilder;
|
||||
use Illuminate\Routing\Router;
|
||||
use Visiosoft\ProfileModule\Profile\Register2\Register2FormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\SignIn\SignInFormBuilder;
|
||||
use Visiosoft\ProfileModule\Profile\sites\SitesFormBuilder;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user