<?php
namespace Proxies\__CG__\App\Entity\User;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class AdminUser extends \App\Entity\User\AdminUser implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Proxy\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Proxy\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array<string, null> properties to be lazy loaded, indexed by property name
*/
public static $lazyPropertiesNames = array (
);
/**
* @var array<string, mixed> default values of properties to be lazy loaded, with keys being the property names
*
* @see \Doctrine\Common\Proxy\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array (
);
public function __construct(?\Closure $initializer = null, ?\Closure $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'enablePermissionChecker', 'rolesResources', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'customer', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'createdRefunds', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'validatedOrders', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'reservedOrders', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'attachedCustomers', 'firstName', 'lastName', 'localeCode', 'avatar', 'id', 'username', 'usernameCanonical', 'salt', 'password', 'plainPassword', 'lastLogin', 'emailVerificationToken', 'passwordResetToken', 'passwordRequestedAt', 'verifiedAt', 'locked', 'expiresAt', 'credentialsExpireAt', 'roles', 'oauthAccounts', 'email', 'emailCanonical', 'encoderName', 'createdAt', 'updatedAt', 'enabled', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'googleAuthenticatorSecret', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'active2Fa', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'archived', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'archivedAt', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'archivedBy'];
}
return ['__isInitialized__', 'enablePermissionChecker', 'rolesResources', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'customer', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'createdRefunds', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'validatedOrders', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'reservedOrders', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'attachedCustomers', 'firstName', 'lastName', 'localeCode', 'avatar', 'id', 'username', 'usernameCanonical', 'salt', 'password', 'plainPassword', 'lastLogin', 'emailVerificationToken', 'passwordResetToken', 'passwordRequestedAt', 'verifiedAt', 'locked', 'expiresAt', 'credentialsExpireAt', 'roles', 'oauthAccounts', 'email', 'emailCanonical', 'encoderName', 'createdAt', 'updatedAt', 'enabled', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'googleAuthenticatorSecret', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'active2Fa', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'archived', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'archivedAt', '' . "\0" . 'App\\Entity\\User\\AdminUser' . "\0" . 'archivedBy'];
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (AdminUser $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', []);
}
/**
* Forces initialization of the proxy
*/
public function __load(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []);
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized(): bool
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized): void
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(?\Closure $initializer = null): void
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer(): ?\Closure
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(?\Closure $cloner = null): void
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner(): ?\Closure
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
* @static
*/
public function __getLazyProperties(): array
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getCustomer(): ?\App\Entity\Customer\Customer
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomer', []);
return parent::getCustomer();
}
/**
* {@inheritDoc}
*/
public function setCustomer(?\App\Entity\Customer\Customer $customer): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCustomer', [$customer]);
parent::setCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function hasRoleResourceByCode(string $code): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRoleResourceByCode', [$code]);
return parent::hasRoleResourceByCode($code);
}
/**
* {@inheritDoc}
*/
public function getCreatedRefunds(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedRefunds', []);
return parent::getCreatedRefunds();
}
/**
* {@inheritDoc}
*/
public function setCreatedRefunds(\Doctrine\Common\Collections\Collection $createdRefunds): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedRefunds', [$createdRefunds]);
parent::setCreatedRefunds($createdRefunds);
}
/**
* {@inheritDoc}
*/
public function addCreatedRefund(\App\Entity\Refund\Refund $refund): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addCreatedRefund', [$refund]);
parent::addCreatedRefund($refund);
}
/**
* {@inheritDoc}
*/
public function removeCreatedRefund(\App\Entity\Refund\Refund $refund): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeCreatedRefund', [$refund]);
parent::removeCreatedRefund($refund);
}
/**
* {@inheritDoc}
*/
public function getValidatedOrders(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getValidatedOrders', []);
return parent::getValidatedOrders();
}
/**
* {@inheritDoc}
*/
public function setValidatedOrders(\Doctrine\Common\Collections\Collection $validatedOrders): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setValidatedOrders', [$validatedOrders]);
parent::setValidatedOrders($validatedOrders);
}
/**
* {@inheritDoc}
*/
public function addValidatedOrder(\App\Entity\Order\Order $order): \App\Entity\User\AdminUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addValidatedOrder', [$order]);
return parent::addValidatedOrder($order);
}
/**
* {@inheritDoc}
*/
public function removeValidatedOrder(\App\Entity\Order\Order $order): \App\Entity\User\AdminUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeValidatedOrder', [$order]);
return parent::removeValidatedOrder($order);
}
/**
* {@inheritDoc}
*/
public function getReservedOrders(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getReservedOrders', []);
return parent::getReservedOrders();
}
/**
* {@inheritDoc}
*/
public function setReservedOrders(\Doctrine\Common\Collections\Collection $reservedOrders): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setReservedOrders', [$reservedOrders]);
parent::setReservedOrders($reservedOrders);
}
/**
* {@inheritDoc}
*/
public function addReservedOrder(\App\Entity\Order\Order $order): \App\Entity\User\AdminUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addReservedOrder', [$order]);
return parent::addReservedOrder($order);
}
/**
* {@inheritDoc}
*/
public function removeReservedOrder(\App\Entity\Order\Order $order): \App\Entity\User\AdminUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeReservedOrder', [$order]);
return parent::removeReservedOrder($order);
}
/**
* {@inheritDoc}
*/
public function getAttachedCustomers(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttachedCustomers', []);
return parent::getAttachedCustomers();
}
/**
* {@inheritDoc}
*/
public function setAttachedCustomers(\Doctrine\Common\Collections\Collection $attachedCustomers): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAttachedCustomers', [$attachedCustomers]);
parent::setAttachedCustomers($attachedCustomers);
}
/**
* {@inheritDoc}
*/
public function addAttachedCustomer(\App\Entity\Customer\Customer $customer): \App\Entity\User\AdminUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addAttachedCustomer', [$customer]);
return parent::addAttachedCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function removeAttachedCustomer(\App\Entity\Customer\Customer $customer): \App\Entity\User\AdminUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAttachedCustomer', [$customer]);
return parent::removeAttachedCustomer($customer);
}
/**
* {@inheritDoc}
*/
public function getGoogleAuthenticatorUsername(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGoogleAuthenticatorUsername', []);
return parent::getGoogleAuthenticatorUsername();
}
/**
* {@inheritDoc}
*/
public function getFullName(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFullName', []);
return parent::getFullName();
}
/**
* {@inheritDoc}
*/
public function isLocked(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isLocked', []);
return parent::isLocked();
}
/**
* {@inheritDoc}
*/
public function hasPermission(string $permission): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasPermission', [$permission]);
return parent::hasPermission($permission);
}
/**
* {@inheritDoc}
*/
public function getFirstName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getFirstName', []);
return parent::getFirstName();
}
/**
* {@inheritDoc}
*/
public function setFirstName(?string $firstName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setFirstName', [$firstName]);
parent::setFirstName($firstName);
}
/**
* {@inheritDoc}
*/
public function getLastName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastName', []);
return parent::getLastName();
}
/**
* {@inheritDoc}
*/
public function setLastName(?string $lastName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastName', [$lastName]);
parent::setLastName($lastName);
}
/**
* {@inheritDoc}
*/
public function getLocaleCode(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLocaleCode', []);
return parent::getLocaleCode();
}
/**
* {@inheritDoc}
*/
public function setLocaleCode(?string $code): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocaleCode', [$code]);
parent::setLocaleCode($code);
}
/**
* {@inheritDoc}
*/
public function getImage(): ?\Sylius\Component\Core\Model\ImageInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getImage', []);
return parent::getImage();
}
/**
* {@inheritDoc}
*/
public function setImage(?\Sylius\Component\Core\Model\ImageInterface $image): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setImage', [$image]);
parent::setImage($image);
}
/**
* {@inheritDoc}
*/
public function getAvatar(): ?\Sylius\Component\Core\Model\ImageInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getAvatar', []);
return parent::getAvatar();
}
/**
* {@inheritDoc}
*/
public function setAvatar(?\Sylius\Component\Core\Model\ImageInterface $avatar): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setAvatar', [$avatar]);
parent::setAvatar($avatar);
}
/**
* {@inheritDoc}
*/
public function __toString(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []);
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []);
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function getEmail(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', []);
return parent::getEmail();
}
/**
* {@inheritDoc}
*/
public function setEmail(?string $email): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmail', [$email]);
parent::setEmail($email);
}
/**
* {@inheritDoc}
*/
public function getEmailCanonical(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmailCanonical', []);
return parent::getEmailCanonical();
}
/**
* {@inheritDoc}
*/
public function setEmailCanonical(?string $emailCanonical): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmailCanonical', [$emailCanonical]);
parent::setEmailCanonical($emailCanonical);
}
/**
* {@inheritDoc}
*/
public function getUsername(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsername', []);
return parent::getUsername();
}
/**
* {@inheritDoc}
*/
public function setUsername(?string $username): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsername', [$username]);
parent::setUsername($username);
}
/**
* {@inheritDoc}
*/
public function getUsernameCanonical(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUsernameCanonical', []);
return parent::getUsernameCanonical();
}
/**
* {@inheritDoc}
*/
public function setUsernameCanonical(?string $usernameCanonical): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUsernameCanonical', [$usernameCanonical]);
parent::setUsernameCanonical($usernameCanonical);
}
/**
* {@inheritDoc}
*/
public function getSalt(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSalt', []);
return parent::getSalt();
}
/**
* {@inheritDoc}
*/
public function getPlainPassword(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPlainPassword', []);
return parent::getPlainPassword();
}
/**
* {@inheritDoc}
*/
public function setPlainPassword(?string $plainPassword): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPlainPassword', [$plainPassword]);
parent::setPlainPassword($plainPassword);
}
/**
* {@inheritDoc}
*/
public function getPassword(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPassword', []);
return parent::getPassword();
}
/**
* {@inheritDoc}
*/
public function setPassword(?string $encodedPassword): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPassword', [$encodedPassword]);
parent::setPassword($encodedPassword);
}
/**
* {@inheritDoc}
*/
public function getExpiresAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpiresAt', []);
return parent::getExpiresAt();
}
/**
* {@inheritDoc}
*/
public function setExpiresAt(?\DateTimeInterface $date): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setExpiresAt', [$date]);
parent::setExpiresAt($date);
}
/**
* {@inheritDoc}
*/
public function getCredentialsExpireAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCredentialsExpireAt', []);
return parent::getCredentialsExpireAt();
}
/**
* {@inheritDoc}
*/
public function setCredentialsExpireAt(?\DateTimeInterface $date): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCredentialsExpireAt', [$date]);
parent::setCredentialsExpireAt($date);
}
/**
* {@inheritDoc}
*/
public function getLastLogin(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLastLogin', []);
return parent::getLastLogin();
}
/**
* {@inheritDoc}
*/
public function setLastLogin(?\DateTimeInterface $time): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLastLogin', [$time]);
parent::setLastLogin($time);
}
/**
* {@inheritDoc}
*/
public function getEmailVerificationToken(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmailVerificationToken', []);
return parent::getEmailVerificationToken();
}
/**
* {@inheritDoc}
*/
public function setEmailVerificationToken(?string $verificationToken): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEmailVerificationToken', [$verificationToken]);
parent::setEmailVerificationToken($verificationToken);
}
/**
* {@inheritDoc}
*/
public function getPasswordResetToken(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPasswordResetToken', []);
return parent::getPasswordResetToken();
}
/**
* {@inheritDoc}
*/
public function setPasswordResetToken(?string $passwordResetToken): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPasswordResetToken', [$passwordResetToken]);
parent::setPasswordResetToken($passwordResetToken);
}
/**
* {@inheritDoc}
*/
public function isCredentialsNonExpired(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isCredentialsNonExpired', []);
return parent::isCredentialsNonExpired();
}
/**
* {@inheritDoc}
*/
public function isAccountNonExpired(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isAccountNonExpired', []);
return parent::isAccountNonExpired();
}
/**
* {@inheritDoc}
*/
public function setLocked(bool $locked): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLocked', [$locked]);
parent::setLocked($locked);
}
/**
* {@inheritDoc}
*/
public function isAccountNonLocked(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isAccountNonLocked', []);
return parent::isAccountNonLocked();
}
/**
* {@inheritDoc}
*/
public function hasRole(string $role): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRole', [$role]);
return parent::hasRole($role);
}
/**
* {@inheritDoc}
*/
public function addRole(string $role): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addRole', [$role]);
parent::addRole($role);
}
/**
* {@inheritDoc}
*/
public function removeRole(string $role): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeRole', [$role]);
parent::removeRole($role);
}
/**
* {@inheritDoc}
*/
public function getRoles(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRoles', []);
return parent::getRoles();
}
/**
* {@inheritDoc}
*/
public function isPasswordRequestNonExpired(\DateInterval $ttl): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isPasswordRequestNonExpired', [$ttl]);
return parent::isPasswordRequestNonExpired($ttl);
}
/**
* {@inheritDoc}
*/
public function getPasswordRequestedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPasswordRequestedAt', []);
return parent::getPasswordRequestedAt();
}
/**
* {@inheritDoc}
*/
public function setPasswordRequestedAt(?\DateTimeInterface $date): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPasswordRequestedAt', [$date]);
parent::setPasswordRequestedAt($date);
}
/**
* {@inheritDoc}
*/
public function isVerified(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isVerified', []);
return parent::isVerified();
}
/**
* {@inheritDoc}
*/
public function getVerifiedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getVerifiedAt', []);
return parent::getVerifiedAt();
}
/**
* {@inheritDoc}
*/
public function setVerifiedAt(?\DateTimeInterface $verifiedAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setVerifiedAt', [$verifiedAt]);
parent::setVerifiedAt($verifiedAt);
}
/**
* {@inheritDoc}
*/
public function eraseCredentials(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'eraseCredentials', []);
parent::eraseCredentials();
}
/**
* {@inheritDoc}
*/
public function getOAuthAccounts(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOAuthAccounts', []);
return parent::getOAuthAccounts();
}
/**
* {@inheritDoc}
*/
public function getOAuthAccount(string $provider): ?\Sylius\Component\User\Model\UserOAuthInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getOAuthAccount', [$provider]);
return parent::getOAuthAccount($provider);
}
/**
* {@inheritDoc}
*/
public function addOAuthAccount(\Sylius\Component\User\Model\UserOAuthInterface $oauth): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addOAuthAccount', [$oauth]);
parent::addOAuthAccount($oauth);
}
/**
* {@inheritDoc}
*/
public function getEncoderName(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEncoderName', []);
return parent::getEncoderName();
}
/**
* {@inheritDoc}
*/
public function setEncoderName(?string $encoderName): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEncoderName', [$encoderName]);
parent::setEncoderName($encoderName);
}
/**
* {@inheritDoc}
*/
public function __serialize(): array
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__serialize', []);
return parent::__serialize();
}
/**
* {@inheritDoc}
*/
public function serialize(): string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'serialize', []);
return parent::serialize();
}
/**
* {@inheritDoc}
*/
public function __unserialize(array $serialized): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__unserialize', [$serialized]);
parent::__unserialize($serialized);
}
/**
* {@inheritDoc}
*/
public function unserialize($serialized): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'unserialize', [$serialized]);
parent::unserialize($serialized);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', []);
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(?\DateTimeInterface $createdAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', [$createdAt]);
parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt(): ?\DateTimeInterface
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', []);
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(?\DateTimeInterface $updatedAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', [$updatedAt]);
parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function isEnabled(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnabled', []);
return parent::isEnabled();
}
/**
* {@inheritDoc}
*/
public function setEnabled(?bool $enabled): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', [$enabled]);
parent::setEnabled($enabled);
}
/**
* {@inheritDoc}
*/
public function enable(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'enable', []);
parent::enable();
}
/**
* {@inheritDoc}
*/
public function disable(): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'disable', []);
parent::disable();
}
/**
* {@inheritDoc}
*/
public function isEnablePermissionChecker(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnablePermissionChecker', []);
return parent::isEnablePermissionChecker();
}
/**
* {@inheritDoc}
*/
public function setEnablePermissionChecker(?bool $enablePermissionChecker): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnablePermissionChecker', [$enablePermissionChecker]);
parent::setEnablePermissionChecker($enablePermissionChecker);
}
/**
* {@inheritDoc}
*/
public function getRolesResources(): \Doctrine\Common\Collections\Collection
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getRolesResources', []);
return parent::getRolesResources();
}
/**
* {@inheritDoc}
*/
public function addRoleResource(\BitBag\SyliusAclPlugin\Entity\RoleInterface $role): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addRoleResource', [$role]);
parent::addRoleResource($role);
}
/**
* {@inheritDoc}
*/
public function removeRoleResource(\BitBag\SyliusAclPlugin\Entity\RoleInterface $role): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeRoleResource', [$role]);
parent::removeRoleResource($role);
}
/**
* {@inheritDoc}
*/
public function hasRoleResource(\BitBag\SyliusAclPlugin\Entity\RoleInterface $role): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRoleResource', [$role]);
return parent::hasRoleResource($role);
}
/**
* {@inheritDoc}
*/
public function isGoogleAuthenticatorEnabled(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isGoogleAuthenticatorEnabled', []);
return parent::isGoogleAuthenticatorEnabled();
}
/**
* {@inheritDoc}
*/
public function getGoogleAuthenticatorSecret(): ?string
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getGoogleAuthenticatorSecret', []);
return parent::getGoogleAuthenticatorSecret();
}
/**
* {@inheritDoc}
*/
public function setGoogleAuthenticatorSecret(?string $googleAuthenticatorSecret): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setGoogleAuthenticatorSecret', [$googleAuthenticatorSecret]);
parent::setGoogleAuthenticatorSecret($googleAuthenticatorSecret);
}
/**
* {@inheritDoc}
*/
public function isActive2Fa(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isActive2Fa', []);
return parent::isActive2Fa();
}
/**
* {@inheritDoc}
*/
public function setActive2Fa(bool $active2Fa): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setActive2Fa', [$active2Fa]);
parent::setActive2Fa($active2Fa);
}
/**
* {@inheritDoc}
*/
public function isArchived(): bool
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'isArchived', []);
return parent::isArchived();
}
/**
* {@inheritDoc}
*/
public function setArchived(bool $archived): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setArchived', [$archived]);
parent::setArchived($archived);
}
/**
* {@inheritDoc}
*/
public function getArchivedAt(): ?\DateTime
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getArchivedAt', []);
return parent::getArchivedAt();
}
/**
* {@inheritDoc}
*/
public function setArchivedAt(?\DateTime $archivedAt): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setArchivedAt', [$archivedAt]);
parent::setArchivedAt($archivedAt);
}
/**
* {@inheritDoc}
*/
public function getArchivedBy(): ?\App\Entity\User\AdminUser
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getArchivedBy', []);
return parent::getArchivedBy();
}
/**
* {@inheritDoc}
*/
public function setArchivedBy(?\App\Entity\User\AdminUser $archivedBy): void
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setArchivedBy', [$archivedBy]);
parent::setArchivedBy($archivedBy);
}
}