Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
scrs_zdenek committed Dec 4, 2023
1 parent 3b35a8b commit 8ebde5e
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 29 deletions.
2 changes: 0 additions & 2 deletions src/Drago/Authorization/Control/Access/AccessEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

class AccessEntity extends Drago\Database\Entity
{
use Nette\SmartObject;

public const Table = 'users';
public const Id = 'id';
public const Username = 'username';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#[Table(AccessEntity::Table, AccessEntity::Id)]
class AccessRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down
2 changes: 0 additions & 2 deletions src/Drago/Authorization/Control/Access/AccessRolesData.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

class AccessRolesData extends Drago\Utils\ExtraArrayHash
{
use Nette\SmartObject;

public const Id = 'id';

public array $role_id;
Expand Down
2 changes: 0 additions & 2 deletions src/Drago/Authorization/Control/Access/AccessRolesEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

class AccessRolesEntity extends Drago\Database\Entity
{
use Nette\SmartObject;

public const Table = 'users_roles';
public const RoleId = 'role_id';
public const UserId = 'user_id';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#[Table(AccessRolesEntity::Table)]
class AccessRolesRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

class AccessRolesViewEntity extends Drago\Database\Entity
{
use Nette\SmartObject;

public const Table = 'users_roles_view';
public const UserId = 'user_id';
public const Username = 'username';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#[Table(AccessRolesViewEntity::Table)]
class AccessRolesViewRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

class PermissionsData extends Drago\Utils\ExtraArrayHash
{
use Nette\SmartObject;
use PermissionsMapper;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

class PermissionsEntity extends Drago\Database\Entity
{
use Nette\SmartObject;
use PermissionsMapper;

public const Table = 'permissions';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#[Table(PermissionsEntity::Table, PermissionsEntity::Id)]
class PermissionsRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

class PermissionsRolesViewEntity extends Drago\Database\Entity
{
use Nette\SmartObject;

public const Table = 'permissions_roles_view';
public const Id = 'id';
public const Name = 'name';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#[Table(PermissionsRolesViewEntity::Table)]
class PermissionsRolesViewRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

class PermissionsViewEntity extends Drago\Database\Entity
{
use Nette\SmartObject;

public const Table = 'permissions_view';
public const Id = 'id';
public const Resource = 'resource';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#[Table(PermissionsViewEntity::Table)]
class PermissionsViewRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

class PrivilegesData extends Drago\Utils\ExtraArrayHash
{
use Nette\SmartObject;
use PrivilegesMapper;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

class PrivilegesEntity extends Drago\Database\Entity
{
use Nette\SmartObject;
use PrivilegesMapper;

public const Table = 'privileges';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#[Table(PrivilegesEntity::Table, PrivilegesEntity::Id)]
class PrivilegesRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
*/
class ResourcesControl extends Component implements Base
{
use SmartObject;
use Factory;

public string $snippetFactory = 'resources';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

class ResourcesData extends Drago\Utils\ExtraArrayHash
{
use Nette\SmartObject;
use ResourcesMapper;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

class ResourcesEntity extends Drago\Database\Entity
{
use Nette\SmartObject;
use ResourcesMapper;

public const Table = 'resources';
Expand Down
1 change: 0 additions & 1 deletion src/Drago/Authorization/Control/Roles/RolesData.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

class RolesData extends Drago\Utils\ExtraArrayHash
{
use Nette\SmartObject;
use RolesMapper;
}
1 change: 0 additions & 1 deletion src/Drago/Authorization/Control/Roles/RolesEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

class RolesEntity extends Drago\Database\Entity
{
use Nette\SmartObject;
use RolesMapper;

public const Table = 'roles';
Expand Down
1 change: 0 additions & 1 deletion src/Drago/Authorization/Control/Roles/RolesRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#[Table(RolesEntity::Table, RolesEntity::Id)]
class RolesRepository
{
use SmartObject;
use Repository;

public function __construct(
Expand Down

0 comments on commit 8ebde5e

Please sign in to comment.