<?php
namespace ContainerQ4z9KJv;
include_once \dirname(__DIR__, 4).'/vendor/ibexa/core/src/lib/Persistence/Legacy/Content/UrlAlias/Handler.php';
class Handler_6696e1f extends \Ibexa\Core\Persistence\Legacy\Content\UrlAlias\Handler implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Ibexa\Core\Persistence\Legacy\Content\UrlAlias\Handler|null wrapped object, if the proxy is initialized
*/
private $valueHolder351bd = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer779d1 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties8ebfa = [
];
public function publishUrlAliasForLocation($locationId, $parentLocationId, $name, $languageCode, $alwaysAvailable = false, $updatePathIdentificationString = false) : string
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'publishUrlAliasForLocation', array('locationId' => $locationId, 'parentLocationId' => $parentLocationId, 'name' => $name, 'languageCode' => $languageCode, 'alwaysAvailable' => $alwaysAvailable, 'updatePathIdentificationString' => $updatePathIdentificationString), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->publishUrlAliasForLocation($locationId, $parentLocationId, $name, $languageCode, $alwaysAvailable, $updatePathIdentificationString);
}
public function createCustomUrlAlias($locationId, $path, $forwarding = false, $languageCode = null, $alwaysAvailable = false)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'createCustomUrlAlias', array('locationId' => $locationId, 'path' => $path, 'forwarding' => $forwarding, 'languageCode' => $languageCode, 'alwaysAvailable' => $alwaysAvailable), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->createCustomUrlAlias($locationId, $path, $forwarding, $languageCode, $alwaysAvailable);
}
public function createGlobalUrlAlias($resource, $path, $forwarding = false, $languageCode = null, $alwaysAvailable = false)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'createGlobalUrlAlias', array('resource' => $resource, 'path' => $path, 'forwarding' => $forwarding, 'languageCode' => $languageCode, 'alwaysAvailable' => $alwaysAvailable), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->createGlobalUrlAlias($resource, $path, $forwarding, $languageCode, $alwaysAvailable);
}
public function listURLAliasesForLocation($locationId, $custom = false)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'listURLAliasesForLocation', array('locationId' => $locationId, 'custom' => $custom), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->listURLAliasesForLocation($locationId, $custom);
}
public function listGlobalURLAliases($languageCode = null, $offset = 0, $limit = -1)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'listGlobalURLAliases', array('languageCode' => $languageCode, 'offset' => $offset, 'limit' => $limit), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->listGlobalURLAliases($languageCode, $offset, $limit);
}
public function removeURLAliases(array $urlAliases)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'removeURLAliases', array('urlAliases' => $urlAliases), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->removeURLAliases($urlAliases);
}
public function lookup($url)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'lookup', array('url' => $url), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->lookup($url);
}
public function loadUrlAlias($id)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'loadUrlAlias', array('id' => $id), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->loadUrlAlias($id);
}
public function locationMoved($locationId, $oldParentId, $newParentId)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'locationMoved', array('locationId' => $locationId, 'oldParentId' => $oldParentId, 'newParentId' => $newParentId), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->locationMoved($locationId, $oldParentId, $newParentId);
}
public function locationCopied($locationId, $newLocationId, $newParentId)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'locationCopied', array('locationId' => $locationId, 'newLocationId' => $newLocationId, 'newParentId' => $newParentId), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->locationCopied($locationId, $newLocationId, $newParentId);
}
public function locationSwapped($location1Id, $location1ParentId, $location2Id, $location2ParentId)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'locationSwapped', array('location1Id' => $location1Id, 'location1ParentId' => $location1ParentId, 'location2Id' => $location2Id, 'location2ParentId' => $location2ParentId), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->locationSwapped($location1Id, $location1ParentId, $location2Id, $location2ParentId);
}
public function locationDeleted($locationId) : array
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'locationDeleted', array('locationId' => $locationId), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->locationDeleted($locationId);
}
public function translationRemoved(array $locationIds, $languageCode)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'translationRemoved', array('locationIds' => $locationIds, 'languageCode' => $languageCode), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->translationRemoved($locationIds, $languageCode);
}
public function archiveUrlAliasesForDeletedTranslations($locationId, $parentLocationId, array $languageCodes)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'archiveUrlAliasesForDeletedTranslations', array('locationId' => $locationId, 'parentLocationId' => $parentLocationId, 'languageCodes' => $languageCodes), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->archiveUrlAliasesForDeletedTranslations($locationId, $parentLocationId, $languageCodes);
}
public function deleteCorruptedUrlAliases()
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'deleteCorruptedUrlAliases', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->deleteCorruptedUrlAliases();
}
public function repairBrokenUrlAliasesForLocation(int $locationId)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'repairBrokenUrlAliasesForLocation', array('locationId' => $locationId), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return $this->valueHolder351bd->repairBrokenUrlAliasesForLocation($locationId);
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
unset($instance->gateway, $instance->locationGateway, $instance->mapper, $instance->languageHandler, $instance->slugConverter, $instance->contentGateway, $instance->maskGenerator);
\Closure::bind(function (\Ibexa\Core\Persistence\Legacy\Content\UrlAlias\Handler $instance) {
unset($instance->transactionHandler);
}, $instance, 'Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler')->__invoke($instance);
$instance->initializer779d1 = $initializer;
return $instance;
}
public function __construct(\Ibexa\Core\Persistence\Legacy\Content\UrlAlias\Gateway $gateway, \Ibexa\Core\Persistence\Legacy\Content\UrlAlias\Mapper $mapper, \Ibexa\Core\Persistence\Legacy\Content\Location\Gateway $locationGateway, \Ibexa\Contracts\Core\Persistence\Content\Language\Handler $languageHandler, \Ibexa\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter $slugConverter, \Ibexa\Core\Persistence\Legacy\Content\Gateway $contentGateway, \Ibexa\Core\Persistence\Legacy\Content\Language\MaskGenerator $maskGenerator, \Ibexa\Contracts\Core\Persistence\TransactionHandler $transactionHandler)
{
static $reflection;
if (! $this->valueHolder351bd) {
$reflection = $reflection ?? new \ReflectionClass('Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler');
$this->valueHolder351bd = $reflection->newInstanceWithoutConstructor();
unset($this->gateway, $this->locationGateway, $this->mapper, $this->languageHandler, $this->slugConverter, $this->contentGateway, $this->maskGenerator);
\Closure::bind(function (\Ibexa\Core\Persistence\Legacy\Content\UrlAlias\Handler $instance) {
unset($instance->transactionHandler);
}, $this, 'Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler')->__invoke($this);
}
$this->valueHolder351bd->__construct($gateway, $mapper, $locationGateway, $languageHandler, $slugConverter, $contentGateway, $maskGenerator, $transactionHandler);
}
public function & __get($name)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, '__get', ['name' => $name], $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
if (isset(self::$publicProperties8ebfa[$name])) {
return $this->valueHolder351bd->$name;
}
$realInstanceReflection = new \ReflectionClass('Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder351bd;
$backtrace = debug_backtrace(false, 1);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
$realInstanceReflection->getName(),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
}
$targetObject = $this->valueHolder351bd;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __set($name, $value)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
$realInstanceReflection = new \ReflectionClass('Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder351bd;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder351bd;
$accessor = function & () use ($targetObject, $name, $value) {
$targetObject->$name = $value;
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __isset($name)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, '__isset', array('name' => $name), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
$realInstanceReflection = new \ReflectionClass('Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder351bd;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder351bd;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __unset($name)
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, '__unset', array('name' => $name), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
$realInstanceReflection = new \ReflectionClass('Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder351bd;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder351bd;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
return;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$accessor();
}
public function __clone()
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, '__clone', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
$this->valueHolder351bd = clone $this->valueHolder351bd;
}
public function __sleep()
{
$this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, '__sleep', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
return array('valueHolder351bd');
}
public function __wakeup()
{
unset($this->gateway, $this->locationGateway, $this->mapper, $this->languageHandler, $this->slugConverter, $this->contentGateway, $this->maskGenerator);
\Closure::bind(function (\Ibexa\Core\Persistence\Legacy\Content\UrlAlias\Handler $instance) {
unset($instance->transactionHandler);
}, $this, 'Ibexa\\Core\\Persistence\\Legacy\\Content\\UrlAlias\\Handler')->__invoke($this);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializer779d1 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer779d1;
}
public function initializeProxy() : bool
{
return $this->initializer779d1 && ($this->initializer779d1->__invoke($valueHolder351bd, $this, 'initializeProxy', array(), $this->initializer779d1) || 1) && $this->valueHolder351bd = $valueHolder351bd;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder351bd;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder351bd;
}
}
if (!\class_exists('Handler_6696e1f', false)) {
\class_alias(__NAMESPACE__.'\\Handler_6696e1f', 'Handler_6696e1f', false);
}