diff --git a/composer.json b/composer.json index 64a6fe7e19..1ea61eafb9 100644 --- a/composer.json +++ b/composer.json @@ -49,6 +49,7 @@ "brain/monkey": "^2.0", "coenjacobs/mozart": "^0.7", "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "friendsofphp/proxy-manager-lts": "^1.0", "league/container": "^3.3", "mikey179/vfsstream": "1.6.11", "mnsami/composer-custom-directory-installer": "^2.0", @@ -62,6 +63,7 @@ "woocommerce/action-scheduler": "^3.4", "wp-coding-standards/wpcs": "^3", "wp-media/background-processing": "^1.3", + "wp-media/monolog": "^0.0", "wp-media/phpunit": "^3", "wp-media/rocket-lazyload-common": "^3.0.11", "wp-media/wp-imagify-partner": "^1.0", @@ -72,8 +74,7 @@ "wpackagist-plugin/simple-custom-css": "^4.0.3", "wpackagist-plugin/spinupwp": "^1.1", "wpackagist-plugin/woocommerce": "^7", - "wpackagist-plugin/wp-smushit": "^3", - "wp-media/monolog": "^0.0" + "wpackagist-plugin/wp-smushit": "^3" }, "autoload": { "classmap": [ diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketAddonSucuriSubscriberGenerated9f012666a043b55e7acd66014aa7e8e3.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketAddonSucuriSubscriberGenerated9f012666a043b55e7acd66014aa7e8e3.php new file mode 100644 index 0000000000..e48a273378 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketAddonSucuriSubscriberGenerated9f012666a043b55e7acd66014aa7e8e3.php @@ -0,0 +1,253 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_clean_firewall_cache', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_clean_firewall_cache(); + } + + public function do_admin_post_rocket_purge_sucuri() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'do_admin_post_rocket_purge_sucuri', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->do_admin_post_rocket_purge_sucuri(); + } + + public function maybe_print_notice() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_print_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_print_notice(); + } + + public function add_cdn_helper_message(array $addons) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_cdn_helper_message', array('addons' => $addons), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_cdn_helper_message($addons); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Addon\Sucuri\Subscriber $instance) { + unset($instance->options); + }, $instance, 'WP_Rocket\\Addon\\Sucuri\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Addon\\Sucuri\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Addon\Sucuri\Subscriber $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Addon\\Sucuri\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Addon\\Sucuri\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Addon\\Sucuri\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Addon\\Sucuri\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Addon\\Sucuri\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Addon\Sucuri\Subscriber $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Addon\\Sucuri\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketAdminOptions_DataGeneratedb75d66074b7a9b6266216849fb106a11.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketAdminOptions_DataGeneratedb75d66074b7a9b6266216849fb106a11.php new file mode 100644 index 0000000000..732d003936 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketAdminOptions_DataGeneratedb75d66074b7a9b6266216849fb106a11.php @@ -0,0 +1,260 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has', array('key' => $key), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has($key); + } + + public function get($key, $default = '') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get', array('key' => $key, 'default' => $default), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get($key, $default); + } + + public function set($key, $value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set', array('key' => $key, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set($key, $value); + } + + public function set_values($options) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_values', array('options' => $options), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_values($options); + } + + public function get_options() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_options', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_options(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Admin\Options_Data $instance) { + unset($instance->options); + }, $instance, 'WP_Rocket\\Admin\\Options_Data')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Admin\\Options_Data'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Admin\Options_Data $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Admin\\Options_Data')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Admin\\Options_Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Admin\\Options_Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Admin\\Options_Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Admin\\Options_Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Admin\Options_Data $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Admin\\Options_Data')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketBufferConfigGeneratede62b8c429aa024f9a02e8769235ee00b.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketBufferConfigGeneratede62b8c429aa024f9a02e8769235ee00b.php new file mode 100644 index 0000000000..8bc96624c2 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketBufferConfigGeneratede62b8c429aa024f9a02e8769235ee00b.php @@ -0,0 +1,270 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_server_input', array('entry_name' => $entry_name, 'default' => $default), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_server_input($entry_name, $default); + } + + public function get_server() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_server', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_server(); + } + + public function get_config($config_name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_config', array('config_name' => $config_name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_config($config_name); + } + + public function get_configs() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_configs', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_configs(); + } + + public function get_host() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_host', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_host(); + } + + public function get_config_file_path() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_config_file_path', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_config_file_path(); + } + + public function get_rejected_cookies() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_rejected_cookies', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_rejected_cookies(); + } + + public function get_mandatory_cookies() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_mandatory_cookies', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_mandatory_cookies(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($args) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Buffer\\Config'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + + $this->valueHolder5c912->__construct($args); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Config'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Config'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Config'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Config'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketBufferTestsGenerated28ef4837efd10ca22b61af541e63a6d5.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketBufferTestsGenerated28ef4837efd10ca22b61af541e63a6d5.php new file mode 100644 index 0000000000..945ae48dc3 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketBufferTestsGenerated28ef4837efd10ca22b61af541e63a6d5.php @@ -0,0 +1,477 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'can_init_process', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->can_init_process(); + } + + public function has_test($test_name = '') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has_test', array('test_name' => $test_name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has_test($test_name); + } + + public function set_tests(array $tests) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_tests', array('tests' => $tests), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_tests($tests); + } + + public function can_process_buffer($buffer) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'can_process_buffer', array('buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->can_process_buffer($buffer); + } + + public function get_http_response_code() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_http_response_code', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_http_response_code(); + } + + public function is_rejected_file() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_rejected_file', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_rejected_file(); + } + + public function is_rejected_extension() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_rejected_extension', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_rejected_extension(); + } + + public function is_feed_uri() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_feed_uri', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_feed_uri(); + } + + public function is_admin() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_admin', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_admin(); + } + + public function is_customizer_preview() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_customizer_preview', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_customizer_preview(); + } + + public function is_allowed_request_method() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_allowed_request_method', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_allowed_request_method(); + } + + public function can_process_query_string() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'can_process_query_string', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->can_process_query_string(); + } + + public function can_process_ssl() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'can_process_ssl', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->can_process_ssl(); + } + + public function can_process_uri() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'can_process_uri', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->can_process_uri(); + } + + public function has_rejected_cookie() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has_rejected_cookie', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has_rejected_cookie(); + } + + public function has_mandatory_cookie() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has_mandatory_cookie', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has_mandatory_cookie(); + } + + public function can_process_user_agent() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'can_process_user_agent', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->can_process_user_agent(); + } + + public function can_process_mobile() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'can_process_mobile', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->can_process_mobile(); + } + + public function has_donotcachepage() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has_donotcachepage', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has_donotcachepage(); + } + + public function is_404() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_404', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_404(); + } + + public function is_search() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_search', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_search(); + } + + public function is_html($buffer) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_html', array('buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_html($buffer); + } + + public function get_ip() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_ip', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_ip(); + } + + public function is_speed_tool() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_speed_tool', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_speed_tool(); + } + + public function is_ssl() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_ssl', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_ssl(); + } + + public function get_raw_request_uri() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_raw_request_uri', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_raw_request_uri(); + } + + public function get_request_uri_base() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_request_uri_base', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_request_uri_base(); + } + + public function get_clean_request_uri() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_clean_request_uri', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_clean_request_uri(); + } + + public function get_request_method() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_request_method', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_request_method(); + } + + public function get_query_params() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_query_params', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_query_params(); + } + + public function get_query_string() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_query_string', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_query_string(); + } + + public function get_original_query_string() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_original_query_string', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_original_query_string(); + } + + public function get_cookies() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_cookies', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_cookies(); + } + + public function get_post() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_post', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_post(); + } + + public function get_get() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_get', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_get(); + } + + public function get_last_error() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_last_error', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_last_error(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Buffer\Tests $instance) { + unset($instance->config, $instance->tests, $instance->last_error); + }, $instance, 'WP_Rocket\\Buffer\\Tests')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Buffer\Config $config, array $args = []) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Buffer\\Tests'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Buffer\Tests $instance) { + unset($instance->config, $instance->tests, $instance->last_error); + }, $this, 'WP_Rocket\\Buffer\\Tests')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($config, $args); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Tests'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Tests'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Tests'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Buffer\\Tests'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Buffer\Tests $instance) { + unset($instance->config, $instance->tests, $instance->last_error); + }, $this, 'WP_Rocket\\Buffer\\Tests')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadAssetsGenerated42e9a56c5dd2710886ab6c93f809cb64.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadAssetsGenerated42e9a56c5dd2710886ab6c93f809cb64.php new file mode 100644 index 0000000000..d0307b6262 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadAssetsGenerated42e9a56c5dd2710886ab6c93f809cb64.php @@ -0,0 +1,275 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insertLazyloadScript', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insertLazyloadScript($args); + } + + public function getInlineLazyloadScript($args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getInlineLazyloadScript', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getInlineLazyloadScript($args); + } + + public function getLazyloadScript($args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getLazyloadScript', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getLazyloadScript($args); + } + + public function insertYoutubeThumbnailScript($args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insertYoutubeThumbnailScript', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insertYoutubeThumbnailScript($args); + } + + public function getYoutubeThumbnailScript($args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getYoutubeThumbnailScript', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getYoutubeThumbnailScript($args); + } + + public function insertYoutubeThumbnailCSS($args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insertYoutubeThumbnailCSS', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insertYoutubeThumbnailCSS($args); + } + + public function getYoutubeThumbnailCSS($args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getYoutubeThumbnailCSS', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getYoutubeThumbnailCSS($args); + } + + public function insertNoJSCSS() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insertNoJSCSS', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insertNoJSCSS(); + } + + public function getNoJSCSS() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getNoJSCSS', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getNoJSCSS(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Assets'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Assets'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Assets'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Assets'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Assets'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadIframeGenerated7a934227608bfe6d0e626f5c8964d59b.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadIframeGenerated7a934227608bfe6d0e626f5c8964d59b.php new file mode 100644 index 0000000000..1a2f2c3c56 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadIframeGenerated7a934227608bfe6d0e626f5c8964d59b.php @@ -0,0 +1,247 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyloadIframes', array('html' => $html, 'buffer' => $buffer, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyloadIframes($html, $buffer, $args); + } + + public function isIframeExcluded($iframe) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'isIframeExcluded', array('iframe' => $iframe), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->isIframeExcluded($iframe); + } + + public function getYoutubeIDFromURL($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getYoutubeIDFromURL', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getYoutubeIDFromURL($url); + } + + public function changeYoutubeUrlForYoutuDotBe($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'changeYoutubeUrlForYoutuDotBe', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->changeYoutubeUrlForYoutuDotBe($url); + } + + public function cleanYoutubeUrl($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cleanYoutubeUrl', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cleanYoutubeUrl($url); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Iframe'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Iframe'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Iframe'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Iframe'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Iframe'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadImageGenerated3b4994b85d7938d774c7bd5ce1f003ae.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadImageGenerated3b4994b85d7938d774c7bd5ce1f003ae.php new file mode 100644 index 0000000000..852971431f --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketDependenciesRocketLazyloadImageGenerated3b4994b85d7938d774c7bd5ce1f003ae.php @@ -0,0 +1,275 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyloadImages', array('html' => $html, 'buffer' => $buffer, 'use_native' => $use_native), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyloadImages($html, $buffer, $use_native); + } + + public function lazyloadBackgroundImages($html, $buffer) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyloadBackgroundImages', array('html' => $html, 'buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyloadBackgroundImages($html, $buffer); + } + + public function lazyloadPictures($html, $buffer) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyloadPictures', array('html' => $html, 'buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyloadPictures($html, $buffer); + } + + public function isExcluded($string, $excluded_values) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'isExcluded', array('string' => $string, 'excluded_values' => $excluded_values), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->isExcluded($string, $excluded_values); + } + + public function getExcludedAttributes() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getExcludedAttributes', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getExcludedAttributes(); + } + + public function getExcludedSrc() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getExcludedSrc', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getExcludedSrc(); + } + + public function lazyloadResponsiveAttributes($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyloadResponsiveAttributes', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyloadResponsiveAttributes($html); + } + + public function convertSmilies($text) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'convertSmilies', array('text' => $text), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->convertSmilies($text); + } + + public function getPlaceholder($width = 0, $height = 0) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'getPlaceholder', array('width' => $width, 'height' => $height), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->getPlaceholder($width, $height); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Image'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Image'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Image'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Image'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Dependencies\\RocketLazyload\\Image'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminBeaconBeaconGenerated4b154a3d0f25160d34cfed7d47868e6b.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminBeaconBeaconGenerated4b154a3d0f25160d34cfed7d47868e6b.php new file mode 100644 index 0000000000..e13a74a4b5 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminBeaconBeaconGenerated4b154a3d0f25160d34cfed7d47868e6b.php @@ -0,0 +1,265 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_script', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_script(); + } + + public function get_suggest($doc_id) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_suggest', array('doc_id' => $doc_id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_suggest($doc_id); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Beacon\Beacon $instance) { + unset($instance->options, $instance->locale, $instance->support_data); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Beacon\\Beacon')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, $template_path, \WP_Rocket\Engine\Support\Data $support_data) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Beacon\\Beacon'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Admin\Beacon\Beacon $instance) { + unset($instance->options, $instance->locale, $instance->support_data); + }, $this, 'WP_Rocket\\Engine\\Admin\\Beacon\\Beacon')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $template_path, $support_data); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Beacon\\Beacon'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Beacon\\Beacon'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Beacon\\Beacon'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Beacon\\Beacon'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Admin\Beacon\Beacon $instance) { + unset($instance->options, $instance->locale, $instance->support_data); + }, $this, 'WP_Rocket\\Engine\\Admin\\Beacon\\Beacon')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDatabaseOptimizationGenerated4ce6844019c9e47fa89111e3b15c7d07.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDatabaseOptimizationGenerated4ce6844019c9e47fa89111e3b15c7d07.php new file mode 100644 index 0000000000..00f8659b8e --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDatabaseOptimizationGenerated4ce6844019c9e47fa89111e3b15c7d07.php @@ -0,0 +1,252 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_options', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_options(); + } + + public function process_handler($options) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'process_handler', array('options' => $options), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->process_handler($options); + } + + public function count_cleanup_items($type) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'count_cleanup_items', array('type' => $type), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->count_cleanup_items($type); + } + + /** + * 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->process); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Database\Optimization $instance) { + unset($instance->options); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Database\\Optimization')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Admin\Database\OptimizationProcess $process) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\Optimization'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->process); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Database\Optimization $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\Admin\\Database\\Optimization')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($process); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->process); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Database\Optimization $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\Admin\\Database\\Optimization')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDatabaseOptimizationProcessGeneratedb79d24ca1898542ee5934529f3963a12.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDatabaseOptimizationProcessGeneratedb79d24ca1898542ee5934529f3963a12.php new file mode 100644 index 0000000000..6b678f6c75 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDatabaseOptimizationProcessGeneratedb79d24ca1898542ee5934529f3963a12.php @@ -0,0 +1,289 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dispatch', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dispatch(); + } + + public function push_to_queue($data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'push_to_queue', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->push_to_queue($data); + } + + public function save() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'save', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->save(); + } + + public function update($key, $data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'update', array('key' => $key, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->update($key, $data); + } + + public function delete($key) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete', array('key' => $key), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete($key); + } + + public function maybe_handle() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_handle', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_handle(); + } + + public function schedule_cron_healthcheck($schedules) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'schedule_cron_healthcheck', array('schedules' => $schedules), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->schedule_cron_healthcheck($schedules); + } + + public function handle_cron_healthcheck() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'handle_cron_healthcheck', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->handle_cron_healthcheck(); + } + + public function cancel_process() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cancel_process', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cancel_process(); + } + + public function data($data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'data', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->data($data); + } + + /** + * 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->prefix, $instance->action, $instance->count, $instance->start_time, $instance->cron_hook_identifier, $instance->cron_interval_identifier, $instance->identifier, $instance->data); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\OptimizationProcess'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->prefix, $this->action, $this->count, $this->start_time, $this->cron_hook_identifier, $this->cron_interval_identifier, $this->identifier, $this->data); + + } + + $this->valueHolder5c912->__construct(); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\OptimizationProcess'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\OptimizationProcess'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\OptimizationProcess'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Database\\OptimizationProcess'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->prefix, $this->action, $this->count, $this->start_time, $this->cron_hook_identifier, $this->cron_interval_identifier, $this->identifier, $this->data); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDeactivationDeactivationIntentGenerateda8dca33cf5aba1e7411a58bdbff93914.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDeactivationDeactivationIntentGenerateda8dca33cf5aba1e7411a58bdbff93914.php new file mode 100644 index 0000000000..462dee137c --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDeactivationDeactivationIntentGenerateda8dca33cf5aba1e7411a58bdbff93914.php @@ -0,0 +1,286 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_deactivation_intent_form', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_deactivation_intent_form(); + } + + public function deactivate_and_snooze($snooze) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'deactivate_and_snooze', array('snooze' => $snooze), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->deactivate_and_snooze($snooze); + } + + public function activate_safe_mode() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'activate_safe_mode', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->activate_safe_mode(); + } + + public function add_modal_assets($hook) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_modal_assets', array('hook' => $hook), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_modal_assets($hook); + } + + public function add_data_attribute($actions) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_data_attribute', array('actions' => $actions), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_data_attribute($actions); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Deactivation\DeactivationIntent $instance) { + unset($instance->options_api, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($template, \WP_Rocket\Admin\Options $options_api, \WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Admin\Deactivation\DeactivationIntent $instance) { + unset($instance->options_api, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($template, $options_api, $options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Admin\Deactivation\DeactivationIntent $instance) { + unset($instance->options_api, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Admin\\Deactivation\\DeactivationIntent')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDeactivationSubscriberGenerated87e040dcaa6d006ef201eaafea7f62fd.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDeactivationSubscriberGenerated87e040dcaa6d006ef201eaafea7f62fd.php new file mode 100644 index 0000000000..55cc9fd35e --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminDeactivationSubscriberGenerated87e040dcaa6d006ef201eaafea7f62fd.php @@ -0,0 +1,253 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_deactivation_intent_form', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_deactivation_intent_form(); + } + + public function add_modal_assets($hook) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_modal_assets', array('hook' => $hook), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_modal_assets($hook); + } + + public function safe_mode_or_deactivate() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'safe_mode_or_deactivate', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->safe_mode_or_deactivate(); + } + + public function add_data_attribute($actions) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_data_attribute', array('actions' => $actions), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_data_attribute($actions); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Deactivation\Subscriber $instance) { + unset($instance->deactivation); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Admin\Deactivation\DeactivationIntent $deactivation) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Admin\Deactivation\Subscriber $instance) { + unset($instance->deactivation); + }, $this, 'WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($deactivation); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Admin\Deactivation\Subscriber $instance) { + unset($instance->deactivation); + }, $this, 'WP_Rocket\\Engine\\Admin\\Deactivation\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsPageGenerated47d16d5aa4164aeca36ccc68719fa0cc.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsPageGenerated47d16d5aa4164aeca36ccc68719fa0cc.php new file mode 100644 index 0000000000..3c95d46766 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsPageGenerated47d16d5aa4164aeca36ccc68719fa0cc.php @@ -0,0 +1,308 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_title', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_title(); + } + + public function get_slug() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_slug', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_slug(); + } + + public function get_capability() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_capability', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_capability(); + } + + public function configure() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'configure', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->configure(); + } + + public function render_page() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_page', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_page(); + } + + public function enqueue_rocket_scripts($hook) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enqueue_rocket_scripts', array('hook' => $hook), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enqueue_rocket_scripts($hook); + } + + public function async_wistia_script($tag, $handle) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'async_wistia_script', array('tag' => $tag, 'handle' => $handle), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->async_wistia_script($tag, $handle); + } + + public function customer_data() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'customer_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->customer_data(); + } + + public function toggle_option() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'toggle_option', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->toggle_option(); + } + + public function is_mobile_plugin_active($value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_mobile_plugin_active', array('value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_mobile_plugin_active($value); + } + + public function display_radio_options_sub_fields($sub_fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_radio_options_sub_fields', array('sub_fields' => $sub_fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_radio_options_sub_fields($sub_fields); + } + + /** + * 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->delayjs_sitelist); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Page $instance) { + unset($instance->slug, $instance->title, $instance->capability, $instance->settings, $instance->render, $instance->beacon, $instance->optimize, $instance->user_client); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Settings\\Page')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(array $args, \WP_Rocket\Engine\Admin\Settings\Settings $settings, \WP_Rocket\Interfaces\Render_Interface $render, \WP_Rocket\Engine\Admin\Beacon\Beacon $beacon, \WP_Rocket\Engine\Admin\Database\Optimization $optimize, \WP_Rocket\Engine\License\API\UserClient $user_client, \WP_Rocket\Engine\Optimization\DelayJS\Admin\SiteList $delayjs_sitelist) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Page'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->delayjs_sitelist); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Page $instance) { + unset($instance->slug, $instance->title, $instance->capability, $instance->settings, $instance->render, $instance->beacon, $instance->optimize, $instance->user_client); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Page')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($args, $settings, $render, $beacon, $optimize, $user_client, $delayjs_sitelist); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Page'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Page'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Page'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Page'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->delayjs_sitelist); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Page $instance) { + unset($instance->slug, $instance->title, $instance->capability, $instance->settings, $instance->render, $instance->beacon, $instance->optimize, $instance->user_client); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Page')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsRenderGenerated01f294392768532892e6cf4d1fd8fae9.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsRenderGenerated01f294392768532892e6cf4d1fd8fae9.php new file mode 100644 index 0000000000..a68948cc65 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsRenderGenerated01f294392768532892e6cf4d1fd8fae9.php @@ -0,0 +1,461 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_settings', array('settings' => $settings), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_settings($settings); + } + + public function set_hidden_settings($hidden_settings) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_hidden_settings', array('hidden_settings' => $hidden_settings), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_hidden_settings($hidden_settings); + } + + public function render_navigation() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_navigation', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_navigation(); + } + + public function render_form_sections() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_form_sections', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_form_sections(); + } + + public function render_imagify_section() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_imagify_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_imagify_section(); + } + + public function render_tutorials_section() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_tutorials_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_tutorials_section(); + } + + public function render_tools_section() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_tools_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_tools_section(); + } + + public function render_settings_sections($page) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_settings_sections', array('page' => $page), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_settings_sections($page); + } + + public function render_settings_fields($page, $section) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_settings_fields', array('page' => $page, 'section' => $section), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_settings_fields($page, $section); + } + + public function render_hidden_fields() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_hidden_fields', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_hidden_fields(); + } + + public function fields_container($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'fields_container', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->fields_container($args); + } + + public function nocontainer($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'nocontainer', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->nocontainer($args); + } + + public function addons_container($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'addons_container', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->addons_container($args); + } + + public function text($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'text', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->text($args); + } + + public function checkbox($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'checkbox', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->checkbox($args); + } + + public function textarea($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'textarea', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->textarea($args); + } + + public function sliding_checkbox($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'sliding_checkbox', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->sliding_checkbox($args); + } + + public function number($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'number', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->number($args); + } + + public function categorized_multiselect($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'categorized_multiselect', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->categorized_multiselect($args); + } + + public function select($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'select', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->select($args); + } + + public function cache_lifespan($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cache_lifespan', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cache_lifespan($args); + } + + public function hidden($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'hidden', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->hidden($args); + } + + public function cnames($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cnames', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cnames($args); + } + + public function rocket_cdn($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rocket_cdn', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rocket_cdn($args); + } + + public function one_click_addon($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'one_click_addon', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->one_click_addon($args); + } + + public function rocket_addon($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rocket_addon', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rocket_addon($args); + } + + public function render_import_form() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_import_form', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_import_form(); + } + + public function render_part($part) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_part', array('part' => $part), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_part($part); + } + + public function radio_buttons($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'radio_buttons', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->radio_buttons($args); + } + + public function render_fields($fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_fields', array('fields' => $fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_fields($fields); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Render $instance) { + unset($instance->settings, $instance->hidden_settings); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Settings\\Render')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Render'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Render $instance) { + unset($instance->settings, $instance->hidden_settings); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Render')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Render'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Render'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Render'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Render'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Render $instance) { + unset($instance->settings, $instance->hidden_settings); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Render')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsSettingsGenerated6cad6cd254c891bb5c25c66d44a17005.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsSettingsGenerated6cad6cd254c891bb5c25c66d44a17005.php new file mode 100644 index 0000000000..8682711bec --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsSettingsGenerated6cad6cd254c891bb5c25c66d44a17005.php @@ -0,0 +1,288 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_page_section', array('id' => $id, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_page_section($id, $args); + } + + public function add_settings_sections($settings_sections) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_settings_sections', array('settings_sections' => $settings_sections), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_settings_sections($settings_sections); + } + + public function add_settings_fields($settings_fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_settings_fields', array('settings_fields' => $settings_fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_settings_fields($settings_fields); + } + + public function add_hidden_settings_fields($hidden_settings_fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_hidden_settings_fields', array('hidden_settings_fields' => $hidden_settings_fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_hidden_settings_fields($hidden_settings_fields); + } + + public function get_settings() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_settings', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_settings(); + } + + public function get_hidden_settings() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_hidden_settings', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_hidden_settings(); + } + + public function sanitize_callback($input) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'sanitize_callback', array('input' => $input), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->sanitize_callback($input); + } + + public function sanitize_checkbox($array, $key) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'sanitize_checkbox', array('array' => $array, 'key' => $key), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->sanitize_checkbox($array, $key); + } + + public function set_radio_buttons_sub_fields_value($sub_fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_radio_buttons_sub_fields_value', array('sub_fields' => $sub_fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_radio_buttons_sub_fields_value($sub_fields); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Settings $instance) { + unset($instance->options, $instance->settings, $instance->hidden_settings, $instance->font_formats, $instance->hosts); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Settings\\Settings')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Settings'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Settings $instance) { + unset($instance->options, $instance->settings, $instance->hidden_settings, $instance->font_formats, $instance->hosts); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Settings')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Settings $instance) { + unset($instance->options, $instance->settings, $instance->hidden_settings, $instance->font_formats, $instance->hosts); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Settings')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsSubscriberGenerated5a5eb220c86fce7cc0fcfcfe6db02320.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsSubscriberGenerated5a5eb220c86fce7cc0fcfcfe6db02320.php new file mode 100644 index 0000000000..793bcf6bac --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineAdminSettingsSubscriberGenerated5a5eb220c86fce7cc0fcfcfe6db02320.php @@ -0,0 +1,302 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enqueue_url', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enqueue_url(); + } + + public function enqueue_rocket_scripts($hook) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enqueue_rocket_scripts', array('hook' => $hook), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enqueue_rocket_scripts($hook); + } + + public function async_wistia_script($tag, $handle) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'async_wistia_script', array('tag' => $tag, 'handle' => $handle), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->async_wistia_script($tag, $handle); + } + + public function add_admin_page() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_admin_page', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_admin_page(); + } + + public function configure() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'configure', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->configure(); + } + + public function refresh_customer_data() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'refresh_customer_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->refresh_customer_data(); + } + + public function toggle_option() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'toggle_option', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->toggle_option(); + } + + public function add_menu_tools_page($navigation) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_menu_tools_page', array('navigation' => $navigation), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_menu_tools_page($navigation); + } + + public function add_imagify_page($navigation) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_imagify_page', array('navigation' => $navigation), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_imagify_page($navigation); + } + + public function add_tutorials_page($navigation) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_tutorials_page', array('navigation' => $navigation), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_tutorials_page($navigation); + } + + public function display_radio_options_sub_fields($option_data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_radio_options_sub_fields', array('option_data' => $option_data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_radio_options_sub_fields($option_data); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Subscriber $instance) { + unset($instance->page); + }, $instance, 'WP_Rocket\\Engine\\Admin\\Settings\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Admin\Settings\Page $page) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Subscriber $instance) { + unset($instance->page); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($page); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Admin\\Settings\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Admin\Settings\Subscriber $instance) { + unset($instance->page); + }, $this, 'WP_Rocket\\Engine\\Admin\\Settings\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNAdminSubscriberGenerated343508dd64818e5ce157400ca10c180c.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNAdminSubscriberGenerated343508dd64818e5ce157400ca10c180c.php new file mode 100644 index 0000000000..96db92d709 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNAdminSubscriberGenerated343508dd64818e5ce157400ca10c180c.php @@ -0,0 +1,219 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_meta_box', array('fields' => $fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_meta_box($fields); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Admin\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNCDNGenerated201071d3eec5d1b81e89f57079f76292.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNCDNGenerated201071d3eec5d1b81e89f57079f76292.php new file mode 100644 index 0000000000..e0b55e8636 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNCDNGenerated201071d3eec5d1b81e89f57079f76292.php @@ -0,0 +1,267 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite($html); + } + + public function rewrite_srcset($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite_srcset', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite_srcset($html); + } + + public function rewrite_url($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite_url', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite_url($url); + } + + public function rewrite_css_properties($content) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite_css_properties', array('content' => $content), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite_css_properties($content); + } + + public function get_cdn_urls($zones = ['all']) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_cdn_urls', array('zones' => $zones), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_cdn_urls($zones); + } + + public function is_excluded($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_excluded', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_excluded($url); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CDN\CDN $instance) { + unset($instance->options, $instance->home_host); + }, $instance, 'WP_Rocket\\Engine\\CDN\\CDN')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\CDN'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CDN\CDN $instance) { + unset($instance->options, $instance->home_host); + }, $this, 'WP_Rocket\\Engine\\CDN\\CDN')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\CDN'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\CDN'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\CDN'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\CDN'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CDN\CDN $instance) { + unset($instance->options, $instance->home_host); + }, $this, 'WP_Rocket\\Engine\\CDN\\CDN')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNAPIClientGenerated67157b7e72780de98dc983cb4062cd3c.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNAPIClientGenerated67157b7e72780de98dc983cb4062cd3c.php new file mode 100644 index 0000000000..0d25cec5ec --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNAPIClientGenerated67157b7e72780de98dc983cb4062cd3c.php @@ -0,0 +1,240 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_subscription_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_subscription_data(); + } + + public function get_pricing_data() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_pricing_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_pricing_data(); + } + + public function purge_cache_request() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'purge_cache_request', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->purge_cache_request(); + } + + public function preserve_authorization_token($args, $url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'preserve_authorization_token', array('args' => $args, 'url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->preserve_authorization_token($args, $url); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\APIClient'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNAdminPageSubscriberGenerated817fa664006b5510510dca54f6e18396.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNAdminPageSubscriberGenerated817fa664006b5510510dca54f6e18396.php new file mode 100644 index 0000000000..fc6cb49779 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNAdminPageSubscriberGenerated817fa664006b5510510dca54f6e18396.php @@ -0,0 +1,286 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_rocketcdn_status', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_rocketcdn_status(); + } + + public function rocketcdn_field($fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rocketcdn_field', array('fields' => $fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rocketcdn_field($fields); + } + + public function purge_cdn_cache() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'purge_cdn_cache', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->purge_cdn_cache(); + } + + public function add_subscription_modal() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_subscription_modal', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_subscription_modal(); + } + + public function preserve_authorization_token($args, $url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'preserve_authorization_token', array('args' => $args, 'url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->preserve_authorization_token($args, $url); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\AdminPageSubscriber $instance) { + unset($instance->api_client, $instance->options, $instance->beacon); + }, $instance, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CDN\RocketCDN\APIClient $api_client, \WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\Admin\Beacon\Beacon $beacon, $template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\AdminPageSubscriber $instance) { + unset($instance->api_client, $instance->options, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($api_client, $options, $beacon, $template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\AdminPageSubscriber $instance) { + unset($instance->api_client, $instance->options, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\AdminPageSubscriber')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNCDNOptionsManagerGenerated35a9fae7142cf9a8f4ece64e0414b38a.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNCDNOptionsManagerGenerated35a9fae7142cf9a8f4ece64e0414b38a.php new file mode 100644 index 0000000000..822b2fd57a --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNCDNOptionsManagerGenerated35a9fae7142cf9a8f4ece64e0414b38a.php @@ -0,0 +1,246 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enable', array('cdn_url' => $cdn_url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enable($cdn_url); + } + + public function disable() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'disable', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->disable(); + } + + public function get_cdn_cnames() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_cdn_cnames', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_cdn_cnames(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\CDNOptionsManager $instance) { + unset($instance->options_api, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options $options_api, \WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\CDNOptionsManager $instance) { + unset($instance->options_api, $instance->options); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options_api, $options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\CDNOptionsManager $instance) { + unset($instance->options_api, $instance->options); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\CDNOptionsManager')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNDataManagerSubscriberGeneratedd6677b649cdace4ee2af44daa96287d3.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNDataManagerSubscriberGeneratedd6677b649cdace4ee2af44daa96287d3.php new file mode 100644 index 0000000000..a0b8475776 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNDataManagerSubscriberGeneratedd6677b649cdace4ee2af44daa96287d3.php @@ -0,0 +1,274 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'update_user_token', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->update_user_token(); + } + + public function enable() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enable', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enable(); + } + + public function disable() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'disable', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->disable(); + } + + public function set_process_status() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_process_status', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_process_status(); + } + + public function get_process_status() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_process_status', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_process_status(); + } + + public function maybe_disable_cdn() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_cdn', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_cdn(); + } + + public function validate_token_cname() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'validate_token_cname', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->validate_token_cname(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\DataManagerSubscriber $instance) { + unset($instance->api_client, $instance->cdn_options); + }, $instance, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CDN\RocketCDN\APIClient $api_client, \WP_Rocket\Engine\CDN\RocketCDN\CDNOptionsManager $cdn_options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\DataManagerSubscriber $instance) { + unset($instance->api_client, $instance->cdn_options); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($api_client, $cdn_options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\DataManagerSubscriber $instance) { + unset($instance->api_client, $instance->cdn_options); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\DataManagerSubscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNNoticesSubscriberGenerated307f652cefb8878d3277daad82171703.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNNoticesSubscriberGenerated307f652cefb8878d3277daad82171703.php new file mode 100644 index 0000000000..3619e05bf4 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNRocketCDNNoticesSubscriberGenerated307f652cefb8878d3277daad82171703.php @@ -0,0 +1,293 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'promote_rocketcdn_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->promote_rocketcdn_notice(); + } + + public function add_dismiss_script() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_dismiss_script', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_dismiss_script(); + } + + public function dismiss_notice() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dismiss_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dismiss_notice(); + } + + public function display_rocketcdn_cta() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_rocketcdn_cta', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_rocketcdn_cta(); + } + + public function toggle_cta() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'toggle_cta', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->toggle_cta(); + } + + public function purge_cache_notice() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'purge_cache_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->purge_cache_notice(); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\NoticesSubscriber $instance) { + unset($instance->api_client, $instance->beacon); + }, $instance, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CDN\RocketCDN\APIClient $api_client, \WP_Rocket\Engine\Admin\Beacon\Beacon $beacon, $template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\NoticesSubscriber $instance) { + unset($instance->api_client, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($api_client, $beacon, $template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CDN\RocketCDN\NoticesSubscriber $instance) { + unset($instance->api_client, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\CDN\\RocketCDN\\NoticesSubscriber')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNSubscriberGenerated69d88bf4615bca25b82ec5b384403d58.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNSubscriberGenerated69d88bf4615bca25b82ec5b384403d58.php new file mode 100644 index 0000000000..dce5b6eaaf --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCDNSubscriberGenerated69d88bf4615bca25b82ec5b384403d58.php @@ -0,0 +1,281 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite($html); + } + + public function rewrite_srcset($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite_srcset', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite_srcset($html); + } + + public function rewrite_css_properties($content) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite_css_properties', array('content' => $content), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite_css_properties($content); + } + + public function get_cdn_hosts(array $hosts = [], array $zones = ['all']) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_cdn_hosts', array('hosts' => $hosts, 'zones' => $zones), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_cdn_hosts($hosts, $zones); + } + + public function add_dns_prefetch_cdn($domains) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_dns_prefetch_cdn', array('domains' => $domains), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_dns_prefetch_cdn($domains); + } + + public function add_cdn_url($url, $original_url = '') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_cdn_url', array('url' => $url, 'original_url' => $original_url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_cdn_url($url, $original_url); + } + + public function maybe_replace_url($url, array $zones = ['all']) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_replace_url', array('url' => $url, 'zones' => $zones), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_replace_url($url, $zones); + } + + public function add_preconnect_cdn(array $urls, string $relation_type) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_preconnect_cdn', array('urls' => $urls, 'relation_type' => $relation_type), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_preconnect_cdn($urls, $relation_type); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CDN\Subscriber $instance) { + unset($instance->options, $instance->cdn); + }, $instance, 'WP_Rocket\\Engine\\CDN\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\CDN\CDN $cdn) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CDN\Subscriber $instance) { + unset($instance->options, $instance->cdn); + }, $this, 'WP_Rocket\\Engine\\CDN\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $cdn); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CDN\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CDN\Subscriber $instance) { + unset($instance->options, $instance->cdn); + }, $this, 'WP_Rocket\\Engine\\CDN\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCommonExtractCSSSubscriberGenerated8990f6025db4b62aa93ba1470d87fe57.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCommonExtractCSSSubscriberGenerated8990f6025db4b62aa93ba1470d87fe57.php new file mode 100644 index 0000000000..3b37043eba --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCommonExtractCSSSubscriberGenerated8990f6025db4b62aa93ba1470d87fe57.php @@ -0,0 +1,250 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'extract_css_files_from_html', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->extract_css_files_from_html($data); + } + + public function extract_inline_css_from_html(array $data) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'extract_inline_css_from_html', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->extract_inline_css_from_html($data); + } + + public function set_logger(\WP_Rocket\Logger\Logger $logger) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_logger', array('logger' => $logger), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_logger($logger); + } + + /** + * 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->logger); + + \Closure::bind(function (\WP_Rocket\Engine\Common\ExtractCSS\Subscriber $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->logger); + + \Closure::bind(function (\WP_Rocket\Engine\Common\ExtractCSS\Subscriber $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber')->__invoke($this); + + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->logger); + + \Closure::bind(function (\WP_Rocket\Engine\Common\ExtractCSS\Subscriber $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Common\\ExtractCSS\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAPIClientGeneratedcf01d0e2012d9de3d42a97e218cace00.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAPIClientGeneratedcf01d0e2012d9de3d42a97e218cace00.php new file mode 100644 index 0000000000..d967bab706 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAPIClientGeneratedcf01d0e2012d9de3d42a97e218cace00.php @@ -0,0 +1,226 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'send_generation_request', array('url' => $url, 'params' => $params, 'item_type' => $item_type), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->send_generation_request($url, $params, $item_type); + } + + public function get_job_details($job_id, $url, $is_mobile = false, $item_type = 'custom') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_job_details', array('job_id' => $job_id, 'url' => $url, 'is_mobile' => $is_mobile, 'item_type' => $item_type), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_job_details($job_id, $url, $is_mobile, $item_type); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\APIClient'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminAdminGenerated968e08d3105aabbaf72d27ba447fa2dd.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminAdminGenerated968e08d3105aabbaf72d27ba447fa2dd.php new file mode 100644 index 0000000000..f032e21c16 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminAdminGenerated968e08d3105aabbaf72d27ba447fa2dd.php @@ -0,0 +1,246 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cpcss_heartbeat', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cpcss_heartbeat(); + } + + public function enqueue_admin_cpcss_heartbeat_script() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enqueue_admin_cpcss_heartbeat_script', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enqueue_admin_cpcss_heartbeat_script(); + } + + public function add_regenerate_menu_item($wp_admin_bar) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_regenerate_menu_item', array('wp_admin_bar' => $wp_admin_bar), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_regenerate_menu_item($wp_admin_bar); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Admin $instance) { + unset($instance->options, $instance->processor); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\CriticalPath\ProcessorService $processor) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Admin $instance) { + unset($instance->options, $instance->processor); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $processor); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Admin $instance) { + unset($instance->options, $instance->processor); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Admin')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminPostGenerated3cd17dbbf642281d11ece409d5d76ed8.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminPostGenerated3cd17dbbf642281d11ece409d5d76ed8.php new file mode 100644 index 0000000000..aa8040d753 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminPostGenerated3cd17dbbf642281d11ece409d5d76ed8.php @@ -0,0 +1,272 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cpcss_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cpcss_section(); + } + + public function cpcss_actions() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cpcss_actions', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cpcss_actions(); + } + + public function enqueue_admin_edit_script($page) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enqueue_admin_edit_script', array('page' => $page), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enqueue_admin_edit_script($page); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Post $instance) { + unset($instance->beacon, $instance->options, $instance->critical_css_path, $instance->disabled_data); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Post')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\Admin\Beacon\Beacon $beacon, $critical_path, $template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Post'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Post $instance) { + unset($instance->beacon, $instance->options, $instance->critical_css_path, $instance->disabled_data); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Post')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $beacon, $critical_path, $template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Post'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Post'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Post'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Post'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Post $instance) { + unset($instance->beacon, $instance->options, $instance->critical_css_path, $instance->disabled_data); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Post')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminSettingsGenerated2a13cea90f116e78745d7a97f319a01b.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminSettingsGenerated2a13cea90f116e78745d7a97f319a01b.php new file mode 100644 index 0000000000..1eef4d4f2a --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminSettingsGenerated2a13cea90f116e78745d7a97f319a01b.php @@ -0,0 +1,286 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_cpcss_mobile_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_cpcss_mobile_section(); + } + + public function enable_mobile_cpcss() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enable_mobile_cpcss', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enable_mobile_cpcss(); + } + + public function add_async_css_mobile_option($options) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_async_css_mobile_option', array('options' => $options), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_async_css_mobile_option($options); + } + + public function set_async_css_mobile_default_value($new_version, $old_version) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_async_css_mobile_default_value', array('new_version' => $new_version, 'old_version' => $old_version), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_async_css_mobile_default_value($new_version, $old_version); + } + + public function add_hidden_async_css_mobile($hidden_settings_fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_hidden_async_css_mobile', array('hidden_settings_fields' => $hidden_settings_fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_hidden_async_css_mobile($hidden_settings_fields); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Settings $instance) { + unset($instance->beacon, $instance->options, $instance->critical_css); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\Admin\Beacon\Beacon $beacon, \WP_Rocket\Engine\CriticalPath\CriticalCSS $critical_css, $template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Settings $instance) { + unset($instance->beacon, $instance->options, $instance->critical_css); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $beacon, $critical_css, $template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Settings $instance) { + unset($instance->beacon, $instance->options, $instance->critical_css); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Settings')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminSubscriberGeneratedd0b221d3bdd0938a0407b8c8493e8718.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminSubscriberGeneratedd0b221d3bdd0938a0407b8c8493e8718.php new file mode 100644 index 0000000000..2776e18bb0 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathAdminSubscriberGeneratedd0b221d3bdd0938a0407b8c8493e8718.php @@ -0,0 +1,309 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enable_mobile_cpcss', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enable_mobile_cpcss(); + } + + public function display_cpcss_mobile_section() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_cpcss_mobile_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_cpcss_mobile_section(); + } + + public function enqueue_admin_edit_script($page) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enqueue_admin_edit_script', array('page' => $page), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enqueue_admin_edit_script($page); + } + + public function cpcss_section() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cpcss_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cpcss_section(); + } + + public function cpcss_actions() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cpcss_actions', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cpcss_actions(); + } + + public function add_async_css_mobile_option($options) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_async_css_mobile_option', array('options' => $options), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_async_css_mobile_option($options); + } + + public function set_async_css_mobile_default_value($new_version, $old_version) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_async_css_mobile_default_value', array('new_version' => $new_version, 'old_version' => $old_version), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_async_css_mobile_default_value($new_version, $old_version); + } + + public function add_hidden_async_css_mobile($hidden_settings_fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_hidden_async_css_mobile', array('hidden_settings_fields' => $hidden_settings_fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_hidden_async_css_mobile($hidden_settings_fields); + } + + public function cpcss_heartbeat() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cpcss_heartbeat', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cpcss_heartbeat(); + } + + public function enqueue_admin_cpcss_heartbeat_script() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enqueue_admin_cpcss_heartbeat_script', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enqueue_admin_cpcss_heartbeat_script(); + } + + public function add_regenerate_menu_item($wp_admin_bar) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_regenerate_menu_item', array('wp_admin_bar' => $wp_admin_bar), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_regenerate_menu_item($wp_admin_bar); + } + + public function add_meta_box(array $fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_meta_box', array('fields' => $fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_meta_box($fields); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Subscriber $instance) { + unset($instance->settings, $instance->post, $instance->admin); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CriticalPath\Admin\Post $post, \WP_Rocket\Engine\CriticalPath\Admin\Settings $settings, \WP_Rocket\Engine\CriticalPath\Admin\Admin $admin) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Subscriber $instance) { + unset($instance->settings, $instance->post, $instance->admin); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($post, $settings, $admin); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\Admin\Subscriber $instance) { + unset($instance->settings, $instance->post, $instance->admin); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\Admin\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSGeneratedba65bc1d1b27d5b773082e3b4b449845.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSGeneratedba65bc1d1b27d5b773082e3b4b449845.php new file mode 100644 index 0000000000..d34a339c34 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSGeneratedba65bc1d1b27d5b773082e3b4b449845.php @@ -0,0 +1,302 @@ + true, + 'items' => true, + ]; + + private static $signatureba65bc1d1b27d5b773082e3b4b449845 = 'YTo0OntzOjk6ImNsYXNzTmFtZSI7czo0MToiV1BfUm9ja2V0XEVuZ2luZVxDcml0aWNhbFBhdGhcQ3JpdGljYWxDU1MiO3M6NzoiZmFjdG9yeSI7czo1MDoiUHJveHlNYW5hZ2VyXEZhY3RvcnlcTGF6eUxvYWRpbmdWYWx1ZUhvbGRlckZhY3RvcnkiO3M6MTk6InByb3h5TWFuYWdlclZlcnNpb24iO3M6NDg6InYxLjAuMTZAZWNhZGJkYzkwNTJlNGFkMDhjNjBjOGEwMjI2ODcxMmU1MDQyN2Y3YyI7czoxMjoicHJveHlPcHRpb25zIjthOjA6e319'; + + public function get_critical_css_path() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_critical_css_path', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_critical_css_path(); + } + + public function process_handler($version = 'default', $clean_version = '') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'process_handler', array('version' => $version, 'clean_version' => $clean_version), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->process_handler($version, $clean_version); + } + + public function stop_generation() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'stop_generation', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->stop_generation(); + } + + public function clean_critical_css($version = 'default') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'clean_critical_css', array('version' => $version), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->clean_critical_css($version); + } + + public function get_critical_css_content() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_critical_css_content', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_critical_css_content(); + } + + public function get_current_page_critical_css() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_current_page_critical_css', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_current_page_critical_css(); + } + + public function is_async_css_mobile() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_async_css_mobile', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_async_css_mobile(); + } + + public function get_exclude_async_css() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_exclude_async_css', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_exclude_async_css(); + } + + /** + * 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->process, $instance->items); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\CriticalCSS $instance) { + unset($instance->options, $instance->critical_css_path, $instance->filesystem); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\CriticalCSS')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CriticalPath\CriticalCSSGeneration $process, \WP_Rocket\Admin\Options_Data $options, $filesystem) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSS'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->process, $this->items); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\CriticalCSS $instance) { + unset($instance->options, $instance->critical_css_path, $instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\CriticalCSS')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($process, $options, $filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return ($this->valueHolder5c912->$name = $value); + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return isset($this->valueHolder5c912->$name); + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + unset($this->valueHolder5c912->$name); + + return; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->process, $this->items); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\CriticalCSS $instance) { + unset($instance->options, $instance->critical_css_path, $instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\CriticalCSS')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSGenerationGeneratede3c0c0eeb1ea1b259589ad4694797aad.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSGenerationGeneratede3c0c0eeb1ea1b259589ad4694797aad.php new file mode 100644 index 0000000000..8e0095932c --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSGenerationGeneratede3c0c0eeb1ea1b259589ad4694797aad.php @@ -0,0 +1,289 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dispatch', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dispatch(); + } + + public function push_to_queue($data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'push_to_queue', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->push_to_queue($data); + } + + public function save() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'save', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->save(); + } + + public function update($key, $data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'update', array('key' => $key, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->update($key, $data); + } + + public function delete($key) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete', array('key' => $key), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete($key); + } + + public function maybe_handle() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_handle', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_handle(); + } + + public function schedule_cron_healthcheck($schedules) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'schedule_cron_healthcheck', array('schedules' => $schedules), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->schedule_cron_healthcheck($schedules); + } + + public function handle_cron_healthcheck() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'handle_cron_healthcheck', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->handle_cron_healthcheck(); + } + + public function cancel_process() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cancel_process', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cancel_process(); + } + + public function data($data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'data', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->data($data); + } + + /** + * 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->prefix, $instance->action, $instance->processor, $instance->start_time, $instance->cron_hook_identifier, $instance->cron_interval_identifier, $instance->identifier, $instance->data); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CriticalPath\ProcessorService $processor) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSGeneration'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->prefix, $this->action, $this->processor, $this->start_time, $this->cron_hook_identifier, $this->cron_interval_identifier, $this->identifier, $this->data); + + } + + $this->valueHolder5c912->__construct($processor); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSGeneration'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSGeneration'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSGeneration'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSGeneration'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->prefix, $this->action, $this->processor, $this->start_time, $this->cron_hook_identifier, $this->cron_interval_identifier, $this->identifier, $this->data); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSSubscriberGeneratedd11074553ea99cccd5113ad6f3f2d499.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSSubscriberGeneratedd11074553ea99cccd5113ad6f3f2d499.php new file mode 100644 index 0000000000..1bc7e47346 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathCriticalCSSSubscriberGeneratedd11074553ea99cccd5113ad6f3f2d499.php @@ -0,0 +1,350 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete_cpcss', array('post_id' => $post_id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete_cpcss($post_id); + } + + public function notice_critical_css_generation_triggered() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'notice_critical_css_generation_triggered', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->notice_critical_css_generation_triggered(); + } + + public function init_critical_css_generation() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'init_critical_css_generation', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->init_critical_css_generation(); + } + + public function generate_critical_css_on_activation($old_value, $value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate_critical_css_on_activation', array('old_value' => $old_value, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate_critical_css_on_activation($old_value, $value); + } + + public function maybe_generate_cpcss_mobile($old_value, $value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_generate_cpcss_mobile', array('old_value' => $old_value, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_generate_cpcss_mobile($old_value, $value); + } + + public function stop_process_on_deactivation($old_value, $value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'stop_process_on_deactivation', array('old_value' => $old_value, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->stop_process_on_deactivation($old_value, $value); + } + + public function critical_css_generation_running_notice() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'critical_css_generation_running_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->critical_css_generation_running_notice(); + } + + public function critical_css_generation_complete_notice() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'critical_css_generation_complete_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->critical_css_generation_complete_notice(); + } + + public function warning_critical_css_dir_permissions() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'warning_critical_css_dir_permissions', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->warning_critical_css_dir_permissions(); + } + + public function insert_load_css() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_load_css', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_load_css(); + } + + public function insert_critical_css_buffer($buffer) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_critical_css_buffer', array('buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_critical_css_buffer($buffer); + } + + public function exclude_inline_js(array $excluded_inline) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'exclude_inline_js', array('excluded_inline' => $excluded_inline), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->exclude_inline_js($excluded_inline); + } + + public function async_css($buffer) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'async_css', array('buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->async_css($buffer); + } + + public function maybe_regenerate_cpcss() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_regenerate_cpcss', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_regenerate_cpcss(); + } + + public function stop_critical_css_generation() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'stop_critical_css_generation', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->stop_critical_css_generation(); + } + + public function switch_to_rucss_notice() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'switch_to_rucss_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->switch_to_rucss_notice(); + } + + public function switch_to_rucss() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'switch_to_rucss', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->switch_to_rucss(); + } + + /** + * 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->critical_css, $instance->options, $instance->options_api, $instance->user); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\CriticalCSSSubscriber $instance) { + unset($instance->filesystem, $instance->cpcss_service, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CriticalPath\CriticalCSS $critical_css, \WP_Rocket\Engine\CriticalPath\ProcessorService $cpcss_service, \WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Admin\Options $options_api, \WP_Rocket\Engine\License\API\User $user, $filesystem) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->critical_css, $this->options, $this->options_api, $this->user); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\CriticalCSSSubscriber $instance) { + unset($instance->filesystem, $instance->cpcss_service, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($critical_css, $cpcss_service, $options, $options_api, $user, $filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->critical_css, $this->options, $this->options_api, $this->user); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\CriticalCSSSubscriber $instance) { + unset($instance->filesystem, $instance->cpcss_service, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\CriticalCSSSubscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathDataManagerGenerated7993f17eda9cde68fe78d80d8d14b609.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathDataManagerGenerated7993f17eda9cde68fe78d80d8d14b609.php new file mode 100644 index 0000000000..5346871b45 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathDataManagerGenerated7993f17eda9cde68fe78d80d8d14b609.php @@ -0,0 +1,274 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'save_cpcss', array('path' => $path, 'cpcss' => $cpcss, 'url' => $url, 'is_mobile' => $is_mobile, 'item_type' => $item_type), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->save_cpcss($path, $cpcss, $url, $is_mobile, $item_type); + } + + public function delete_cpcss($path, $is_mobile = false) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete_cpcss', array('path' => $path, 'is_mobile' => $is_mobile), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete_cpcss($path, $is_mobile); + } + + public function get_cache_job_id($item_url, $is_mobile = false) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_cache_job_id', array('item_url' => $item_url, 'is_mobile' => $is_mobile), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_cache_job_id($item_url, $is_mobile); + } + + public function set_cache_job_id($item_url, $job_id, $is_mobile = false) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_cache_job_id', array('item_url' => $item_url, 'job_id' => $job_id, 'is_mobile' => $is_mobile), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_cache_job_id($item_url, $job_id, $is_mobile); + } + + public function delete_cache_job_id($item_url, $is_mobile = false) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete_cache_job_id', array('item_url' => $item_url, 'is_mobile' => $is_mobile), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete_cache_job_id($item_url, $is_mobile); + } + + public function rewrite_paths($source, $target, $content) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite_paths', array('source' => $source, 'target' => $target, 'content' => $content), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite_paths($source, $target, $content); + } + + public function handle_charsets(string $content, bool $keep_first_charset = true) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'handle_charsets', array('content' => $content, 'keep_first_charset' => $keep_first_charset), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->handle_charsets($content, $keep_first_charset); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\DataManager $instance) { + unset($instance->critical_css_path, $instance->filesystem, $instance->imports, $instance->found_charset); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\DataManager')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($critical_css_path, $filesystem) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\DataManager'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\DataManager $instance) { + unset($instance->critical_css_path, $instance->filesystem, $instance->imports, $instance->found_charset); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\DataManager')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($critical_css_path, $filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\DataManager $instance) { + unset($instance->critical_css_path, $instance->filesystem, $instance->imports, $instance->found_charset); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\DataManager')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathProcessorServiceGenerated50abe33851d722dd921c7341a16d0449.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathProcessorServiceGenerated50abe33851d722dd921c7341a16d0449.php new file mode 100644 index 0000000000..63ac680187 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathProcessorServiceGenerated50abe33851d722dd921c7341a16d0449.php @@ -0,0 +1,239 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'process_generate', array('item_url' => $item_url, 'item_path' => $item_path, 'additional_parameters' => $additional_parameters), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->process_generate($item_url, $item_path, $additional_parameters); + } + + public function process_delete($item_path) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'process_delete', array('item_path' => $item_path), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->process_delete($item_path); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\ProcessorService $instance) { + unset($instance->data_manager, $instance->api_client); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\ProcessorService')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CriticalPath\DataManager $data_manager, \WP_Rocket\Engine\CriticalPath\APIClient $api_client) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\ProcessorService'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\ProcessorService $instance) { + unset($instance->data_manager, $instance->api_client); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\ProcessorService')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($data_manager, $api_client); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\ProcessorService'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\ProcessorService'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\ProcessorService'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\ProcessorService'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\ProcessorService $instance) { + unset($instance->data_manager, $instance->api_client); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\ProcessorService')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathRESTWPPostGenerated96f453a8a3b1532d9fd290955cea4c09.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathRESTWPPostGenerated96f453a8a3b1532d9fd290955cea4c09.php new file mode 100644 index 0000000000..df69a8dc89 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineCriticalPathRESTWPPostGenerated96f453a8a3b1532d9fd290955cea4c09.php @@ -0,0 +1,266 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'register_generate_route', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->register_generate_route(); + } + + public function register_delete_route() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'register_delete_route', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->register_delete_route(); + } + + public function check_permissions() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'check_permissions', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->check_permissions(); + } + + public function generate(\WP_REST_Request $request) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('request' => $request), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($request); + } + + public function delete(\WP_REST_Request $request) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete', array('request' => $request), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete($request); + } + + /** + * 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->route_namespace); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\RESTWP $instance) { + unset($instance->cpcss_service, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\CriticalPath\\RESTWP')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\CriticalPath\ProcessorService $cpcss_service, \WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\RESTWPPost'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->route_namespace); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\RESTWP $instance) { + unset($instance->cpcss_service, $instance->options); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\RESTWP')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($cpcss_service, $options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\RESTWPPost'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\RESTWPPost'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\RESTWPPost'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\CriticalPath\\RESTWPPost'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->route_namespace); + + \Closure::bind(function (\WP_Rocket\Engine\CriticalPath\RESTWP $instance) { + unset($instance->cpcss_service, $instance->options); + }, $this, 'WP_Rocket\\Engine\\CriticalPath\\RESTWP')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineHealthCheckHealthCheckGenerated2640c738441881bf799c2b460c44a3fa.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineHealthCheckHealthCheckGenerated2640c738441881bf799c2b460c44a3fa.php new file mode 100644 index 0000000000..1cdff06180 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineHealthCheckHealthCheckGenerated2640c738441881bf799c2b460c44a3fa.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'missed_cron', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->missed_cron(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\HealthCheck\HealthCheck $instance) { + unset($instance->options, $instance->events); + }, $instance, 'WP_Rocket\\Engine\\HealthCheck\\HealthCheck')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\HealthCheck\\HealthCheck'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\HealthCheck\HealthCheck $instance) { + unset($instance->options, $instance->events); + }, $this, 'WP_Rocket\\Engine\\HealthCheck\\HealthCheck')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\HealthCheck\\HealthCheck'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\HealthCheck\\HealthCheck'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\HealthCheck\\HealthCheck'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\HealthCheck\\HealthCheck'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\HealthCheck\HealthCheck $instance) { + unset($instance->options, $instance->events); + }, $this, 'WP_Rocket\\Engine\\HealthCheck\\HealthCheck')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIPricingClientGenerated4ad3a3afad640bdb3b4aac1cc9eb3858.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIPricingClientGenerated4ad3a3afad640bdb3b4aac1cc9eb3858.php new file mode 100644 index 0000000000..8a260d3ee7 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIPricingClientGenerated4ad3a3afad640bdb3b4aac1cc9eb3858.php @@ -0,0 +1,219 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_pricing_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_pricing_data(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\PricingClient'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\PricingClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\PricingClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\PricingClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\PricingClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIPricingGenerated4840aff107b134c7f5fa5ae71c78dc15.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIPricingGenerated4840aff107b134c7f5fa5ae71c78dc15.php new file mode 100644 index 0000000000..f099e25d19 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIPricingGenerated4840aff107b134c7f5fa5ae71c78dc15.php @@ -0,0 +1,337 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_single_pricing', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_single_pricing(); + } + + public function get_plus_pricing() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_plus_pricing', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_plus_pricing(); + } + + public function get_infinite_pricing() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_infinite_pricing', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_infinite_pricing(); + } + + public function get_renewals_data() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_renewals_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_renewals_data(); + } + + public function get_promo_data() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_promo_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_promo_data(); + } + + public function is_promo_active() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_promo_active', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_promo_active(); + } + + public function get_promo_end() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_promo_end', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_promo_end(); + } + + public function get_regular_single_to_plus_price() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_regular_single_to_plus_price', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_regular_single_to_plus_price(); + } + + public function get_single_to_plus_price() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_single_to_plus_price', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_single_to_plus_price(); + } + + public function get_regular_single_to_infinite_price() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_regular_single_to_infinite_price', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_regular_single_to_infinite_price(); + } + + public function get_single_to_infinite_price() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_single_to_infinite_price', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_single_to_infinite_price(); + } + + public function get_regular_plus_to_infinite_price() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_regular_plus_to_infinite_price', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_regular_plus_to_infinite_price(); + } + + public function get_plus_to_infinite_price() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_plus_to_infinite_price', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_plus_to_infinite_price(); + } + + public function get_single_websites_count() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_single_websites_count', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_single_websites_count(); + } + + public function get_plus_websites_count() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_plus_websites_count', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_plus_websites_count(); + } + + public function get_infinite_websites_count() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_infinite_websites_count', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_infinite_websites_count(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\License\API\Pricing $instance) { + unset($instance->pricing); + }, $instance, 'WP_Rocket\\Engine\\License\\API\\Pricing')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($pricing) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\Pricing'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\License\API\Pricing $instance) { + unset($instance->pricing); + }, $this, 'WP_Rocket\\Engine\\License\\API\\Pricing')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($pricing); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\Pricing'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\Pricing'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\Pricing'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\Pricing'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\License\API\Pricing $instance) { + unset($instance->pricing); + }, $this, 'WP_Rocket\\Engine\\License\\API\\Pricing')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIUserClientGenerated7c0e0a8dfc7905886421050f3f451aa2.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIUserClientGenerated7c0e0a8dfc7905886421050f3f451aa2.php new file mode 100644 index 0000000000..d9c81f7ff8 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIUserClientGenerated7c0e0a8dfc7905886421050f3f451aa2.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_user_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_user_data(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\License\API\UserClient $instance) { + unset($instance->options); + }, $instance, 'WP_Rocket\\Engine\\License\\API\\UserClient')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\UserClient'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\License\API\UserClient $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\License\\API\\UserClient')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\UserClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\UserClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\UserClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\UserClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\License\API\UserClient $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\License\\API\\UserClient')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIUserGenerated27434804b8bf0755800ff8dc0fc91875.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIUserGenerated27434804b8bf0755800ff8dc0fc91875.php new file mode 100644 index 0000000000..1c4a413941 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseAPIUserGenerated27434804b8bf0755800ff8dc0fc91875.php @@ -0,0 +1,281 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_license_type', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_license_type(); + } + + public function get_license_expiration() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_license_expiration', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_license_expiration(); + } + + public function is_license_expired() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_license_expired', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_license_expired(); + } + + public function get_creation_date() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_creation_date', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_creation_date(); + } + + public function is_auto_renew() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_auto_renew', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_auto_renew(); + } + + public function get_upgrade_plus_url() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_upgrade_plus_url', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_upgrade_plus_url(); + } + + public function get_upgrade_infinite_url() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_upgrade_infinite_url', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_upgrade_infinite_url(); + } + + public function get_renewal_url() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_renewal_url', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_renewal_url(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\License\API\User $instance) { + unset($instance->user); + }, $instance, 'WP_Rocket\\Engine\\License\\API\\User')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($user) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\User'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\License\API\User $instance) { + unset($instance->user); + }, $this, 'WP_Rocket\\Engine\\License\\API\\User')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($user); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\User'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\User'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\User'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\API\\User'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\License\API\User $instance) { + unset($instance->user); + }, $this, 'WP_Rocket\\Engine\\License\\API\\User')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseRenewalGenerated6399258ccbdc85ee698ed1c3f74cf807.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseRenewalGenerated6399258ccbdc85ee698ed1c3f74cf807.php new file mode 100644 index 0000000000..06d32f7ad8 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseRenewalGenerated6399258ccbdc85ee698ed1c3f74cf807.php @@ -0,0 +1,314 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_renewal_soon_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_renewal_soon_banner(); + } + + public function display_renewal_expired_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_renewal_expired_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_renewal_expired_banner(); + } + + public function dismiss_renewal_expired_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dismiss_renewal_expired_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dismiss_renewal_expired_banner(); + } + + public function add_localize_script_data($data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_localize_script_data', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_localize_script_data($data); + } + + public function add_license_expire_warning($args) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_license_expire_warning', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_license_expire_warning($args); + } + + public function add_expired_bubble($menu_title) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_expired_bubble', array('menu_title' => $menu_title), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_expired_bubble($menu_title); + } + + public function set_dashboard_seen_transient() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_dashboard_seen_transient', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_dashboard_seen_transient(); + } + + public function maybe_disable_ocd($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_ocd', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_ocd($args); + } + + public function maybe_disable_option($value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_option', array('value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_option($value); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\License\Renewal $instance) { + unset($instance->pricing, $instance->user, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\License\\Renewal')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\License\API\Pricing $pricing, \WP_Rocket\Engine\License\API\User $user, \WP_Rocket\Admin\Options_Data $options, $template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\License\\Renewal'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\License\Renewal $instance) { + unset($instance->pricing, $instance->user, $instance->options); + }, $this, 'WP_Rocket\\Engine\\License\\Renewal')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($pricing, $user, $options, $template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Renewal'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Renewal'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Renewal'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Renewal'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\License\Renewal $instance) { + unset($instance->pricing, $instance->user, $instance->options); + }, $this, 'WP_Rocket\\Engine\\License\\Renewal')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseSubscriberGenerateded174d0593dcdb03477de00ca62a94fc.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseSubscriberGenerateded174d0593dcdb03477de00ca62a94fc.php new file mode 100644 index 0000000000..7a7a3879a4 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseSubscriberGenerateded174d0593dcdb03477de00ca62a94fc.php @@ -0,0 +1,337 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_upgrade_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_upgrade_section(); + } + + public function display_upgrade_popin() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_upgrade_popin', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_upgrade_popin(); + } + + public function add_notification_bubble($menu_title) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_notification_bubble', array('menu_title' => $menu_title), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_notification_bubble($menu_title); + } + + public function dismiss_notification_bubble() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dismiss_notification_bubble', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dismiss_notification_bubble(); + } + + public function display_promo_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_promo_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_promo_banner(); + } + + public function dismiss_promo_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dismiss_promo_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dismiss_promo_banner(); + } + + public function add_localize_script_data($data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_localize_script_data', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_localize_script_data($data); + } + + public function clean_user_transient($new_version, $old_version) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'clean_user_transient', array('new_version' => $new_version, 'old_version' => $old_version), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->clean_user_transient($new_version, $old_version); + } + + public function display_renewal_soon_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_renewal_soon_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_renewal_soon_banner(); + } + + public function display_renewal_expired_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_renewal_expired_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_renewal_expired_banner(); + } + + public function dismiss_renewal_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dismiss_renewal_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dismiss_renewal_banner(); + } + + public function add_license_expire_warning($args) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_license_expire_warning', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_license_expire_warning($args); + } + + public function add_notification_bubble_expired($menu_title) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_notification_bubble_expired', array('menu_title' => $menu_title), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_notification_bubble_expired($menu_title); + } + + public function set_dashboard_seen_transient() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_dashboard_seen_transient', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_dashboard_seen_transient(); + } + + public function maybe_disable_ocd($args) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_ocd', array('args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_ocd($args); + } + + public function maybe_disable_option($value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_option', array('value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_option($value); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\License\Subscriber $instance) { + unset($instance->upgrade, $instance->renewal); + }, $instance, 'WP_Rocket\\Engine\\License\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\License\Upgrade $upgrade, \WP_Rocket\Engine\License\Renewal $renewal) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\License\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\License\Subscriber $instance) { + unset($instance->upgrade, $instance->renewal); + }, $this, 'WP_Rocket\\Engine\\License\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($upgrade, $renewal); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\License\Subscriber $instance) { + unset($instance->upgrade, $instance->renewal); + }, $this, 'WP_Rocket\\Engine\\License\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseUpgradeGenerated5f214f19534bb77218e80b3ea36e05e6.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseUpgradeGenerated5f214f19534bb77218e80b3ea36e05e6.php new file mode 100644 index 0000000000..55d7626d10 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineLicenseUpgradeGenerated5f214f19534bb77218e80b3ea36e05e6.php @@ -0,0 +1,300 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_upgrade_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_upgrade_section(); + } + + public function display_upgrade_popin() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_upgrade_popin', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_upgrade_popin(); + } + + public function add_notification_bubble($menu_title) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_notification_bubble', array('menu_title' => $menu_title), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_notification_bubble($menu_title); + } + + public function dismiss_notification_bubble() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dismiss_notification_bubble', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dismiss_notification_bubble(); + } + + public function display_promo_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_promo_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_promo_banner(); + } + + public function dismiss_promo_banner() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'dismiss_promo_banner', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->dismiss_promo_banner(); + } + + public function add_localize_script_data($data) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_localize_script_data', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_localize_script_data($data); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\License\Upgrade $instance) { + unset($instance->pricing, $instance->user); + }, $instance, 'WP_Rocket\\Engine\\License\\Upgrade')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\License\API\Pricing $pricing, \WP_Rocket\Engine\License\API\User $user, $template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\License\\Upgrade'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\License\Upgrade $instance) { + unset($instance->pricing, $instance->user); + }, $this, 'WP_Rocket\\Engine\\License\\Upgrade')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($pricing, $user, $template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Upgrade'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Upgrade'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Upgrade'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\License\\Upgrade'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\License\Upgrade $instance) { + unset($instance->pricing, $instance->user); + }, $this, 'WP_Rocket\\Engine\\License\\Upgrade')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaEmojisEmojisSubscriberGenerated05fae8ace09f2a4ee340763e39ad11ca.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaEmojisEmojisSubscriberGenerated05fae8ace09f2a4ee340763e39ad11ca.php new file mode 100644 index 0000000000..46f8ad2674 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaEmojisEmojisSubscriberGenerated05fae8ace09f2a4ee340763e39ad11ca.php @@ -0,0 +1,239 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'disable_emoji', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->disable_emoji(); + } + + public function disable_emoji_tinymce($plugins) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'disable_emoji_tinymce', array('plugins' => $plugins), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->disable_emoji_tinymce($plugins); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Media\Emojis\EmojisSubscriber $instance) { + unset($instance->options); + }, $instance, 'WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Media\Emojis\EmojisSubscriber $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Media\Emojis\EmojisSubscriber $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\Media\\Emojis\\EmojisSubscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaImageDimensionsImageDimensionsGeneratedb2373c9535ca093f022beb03de819f2e.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaImageDimensionsImageDimensionsGeneratedb2373c9535ca093f022beb03de819f2e.php new file mode 100644 index 0000000000..9040145ad4 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaImageDimensionsImageDimensionsGeneratedb2373c9535ca093f022beb03de819f2e.php @@ -0,0 +1,246 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_option', array('options' => $options), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_option($options); + } + + public function sanitize_option_value(array $input, \WP_Rocket\Engine\Admin\Settings\Settings $settings) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'sanitize_option_value', array('input' => $input, 'settings' => $settings), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->sanitize_option_value($input, $settings); + } + + public function specify_image_dimensions($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'specify_image_dimensions', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->specify_image_dimensions($html); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Media\ImageDimensions\ImageDimensions $instance) { + unset($instance->options, $instance->filesystem, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, $filesystem = null) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Media\ImageDimensions\ImageDimensions $instance) { + unset($instance->options, $instance->filesystem, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Media\ImageDimensions\ImageDimensions $instance) { + unset($instance->options, $instance->filesystem, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Media\\ImageDimensions\\ImageDimensions')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaImageDimensionsSubscriberGenerated5d652da70245d3323173d876cdf79ee6.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaImageDimensionsSubscriberGenerated5d652da70245d3323173d876cdf79ee6.php new file mode 100644 index 0000000000..0bd28c357d --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaImageDimensionsSubscriberGenerated5d652da70245d3323173d876cdf79ee6.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'specify_image_dimensions', array('buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->specify_image_dimensions($buffer); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Media\ImageDimensions\Subscriber $instance) { + unset($instance->dimensions); + }, $instance, 'WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Media\ImageDimensions\ImageDimensions $dimensions) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Media\ImageDimensions\Subscriber $instance) { + unset($instance->dimensions); + }, $this, 'WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($dimensions); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Media\ImageDimensions\Subscriber $instance) { + unset($instance->dimensions); + }, $this, 'WP_Rocket\\Engine\\Media\\ImageDimensions\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaLazyloadSubscriberGeneratedacb21b6c57945948a7216ad5a7d50865.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaLazyloadSubscriberGeneratedacb21b6c57945948a7216ad5a7d50865.php new file mode 100644 index 0000000000..f82d6dbe9a --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineMediaLazyloadSubscriberGeneratedacb21b6c57945948a7216ad5a7d50865.php @@ -0,0 +1,295 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_lazyload_script', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_lazyload_script(); + } + + public function insert_youtube_thumbnail_script() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_youtube_thumbnail_script', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_youtube_thumbnail_script(); + } + + public function insert_nojs_style() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_nojs_style', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_nojs_style(); + } + + public function insert_youtube_thumbnail_style() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'insert_youtube_thumbnail_style', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->insert_youtube_thumbnail_style(); + } + + public function lazyload($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyload', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyload($html); + } + + public function lazyload_responsive($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyload_responsive', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyload_responsive($html); + } + + public function lazyload_smilies() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lazyload_smilies', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lazyload_smilies(); + } + + public function deactivate_lazyload_on_specific_posts() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'deactivate_lazyload_on_specific_posts', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->deactivate_lazyload_on_specific_posts(); + } + + public function maybe_disable_core_lazyload($value, $tag_name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_core_lazyload', array('value' => $value, 'tag_name' => $tag_name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_core_lazyload($value, $tag_name); + } + + public function add_exclusions(array $exclusions) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_exclusions', array('exclusions' => $exclusions), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_exclusions($exclusions); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Media\Lazyload\Subscriber $instance) { + unset($instance->options, $instance->assets, $instance->image, $instance->iframe, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Dependencies\RocketLazyload\Assets $assets, \WP_Rocket\Dependencies\RocketLazyload\Image $image, \WP_Rocket\Dependencies\RocketLazyload\Iframe $iframe) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Media\Lazyload\Subscriber $instance) { + unset($instance->options, $instance->assets, $instance->image, $instance->iframe, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $assets, $image, $iframe); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Media\Lazyload\Subscriber $instance) { + unset($instance->options, $instance->assets, $instance->image, $instance->iframe, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Media\\Lazyload\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationBufferOptimizationGeneratedcb131f6f267b74d525e37072ce13aa0b.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationBufferOptimizationGeneratedcb131f6f267b74d525e37072ce13aa0b.php new file mode 100644 index 0000000000..ade544773b --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationBufferOptimizationGeneratedcb131f6f267b74d525e37072ce13aa0b.php @@ -0,0 +1,247 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_init_process', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_init_process(); + } + + public function maybe_process_buffer($buffer) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_process_buffer', array('buffer' => $buffer), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_process_buffer($buffer); + } + + public function is_feed_uri() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_feed_uri', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_feed_uri(); + } + + public function get_process_id() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_process_id', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_process_id(); + } + + /** + * 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->process_id, $instance->tests); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Buffer\Tests $tests) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Optimization'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->process_id, $this->tests); + + } + + $this->valueHolder5c912->__construct($tests); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Optimization'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->process_id, $this->tests); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationBufferSubscriberGenerated7a90637a50a12b866eccd231be09e3e8.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationBufferSubscriberGenerated7a90637a50a12b866eccd231be09e3e8.php new file mode 100644 index 0000000000..1b3a16727f --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationBufferSubscriberGenerated7a90637a50a12b866eccd231be09e3e8.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'start_content_process', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->start_content_process(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\Buffer\Subscriber $instance) { + unset($instance->optimizer); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Optimization\Buffer\Optimization $optimizer) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\Buffer\Subscriber $instance) { + unset($instance->optimizer); + }, $this, 'WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($optimizer); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\Buffer\Subscriber $instance) { + unset($instance->optimizer); + }, $this, 'WP_Rocket\\Engine\\Optimization\\Buffer\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationCacheDynamicResourceGenerated9c459546a2d428d403ac902161adaec3.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationCacheDynamicResourceGenerated9c459546a2d428d403ac902161adaec3.php new file mode 100644 index 0000000000..a2cbf677ba --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationCacheDynamicResourceGenerated9c459546a2d428d403ac902161adaec3.php @@ -0,0 +1,299 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'cache_dynamic_resource', array('src' => $src), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->cache_dynamic_resource($src); + } + + public function replace_url($src) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'replace_url', array('src' => $src), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->replace_url($src); + } + + public function is_allowed() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_allowed', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_allowed(); + } + + public function is_excluded_file($src) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_excluded_file', array('src' => $src), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_excluded_file($src); + } + + public function set_extension($extension) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_extension', array('extension' => $extension), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_extension($extension); + } + + public function get_zones() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_zones', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_zones(); + } + + public function rewrite_paths($source, $target, $content) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rewrite_paths', array('source' => $source, 'target' => $target, 'content' => $content), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rewrite_paths($source, $target, $content); + } + + public function handle_charsets(string $content, bool $keep_first_charset = true) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'handle_charsets', array('content' => $content, 'keep_first_charset' => $keep_first_charset), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->handle_charsets($content, $keep_first_charset); + } + + /** + * 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->options, $instance->busting_path, $instance->busting_url, $instance->excluded_files, $instance->extension, $instance->minify_key, $instance->minify_base_path, $instance->minify_base_url); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\CacheDynamicResource $instance) { + unset($instance->imports, $instance->found_charset); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\CacheDynamicResource')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\AbstractOptimization $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\AbstractOptimization')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, $busting_path, $busting_url) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\CacheDynamicResource'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->options, $this->busting_path, $this->busting_url, $this->excluded_files, $this->extension, $this->minify_key, $this->minify_base_path, $this->minify_base_url); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\CacheDynamicResource $instance) { + unset($instance->imports, $instance->found_charset); + }, $this, 'WP_Rocket\\Engine\\Optimization\\CacheDynamicResource')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\AbstractOptimization $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\AbstractOptimization')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $busting_path, $busting_url); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\CacheDynamicResource'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\CacheDynamicResource'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\CacheDynamicResource'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\CacheDynamicResource'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->options, $this->busting_path, $this->busting_url, $this->excluded_files, $this->extension, $this->minify_key, $this->minify_base_path, $this->minify_base_url); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\CacheDynamicResource $instance) { + unset($instance->imports, $instance->found_charset); + }, $this, 'WP_Rocket\\Engine\\Optimization\\CacheDynamicResource')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\AbstractOptimization $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\AbstractOptimization')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDeferJSDeferJSGenerateda455e4ba2bea72b77e4d08f9b9acd91e.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDeferJSDeferJSGenerateda455e4ba2bea72b77e4d08f9b9acd91e.php new file mode 100644 index 0000000000..b058b54f7a --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDeferJSDeferJSGenerateda455e4ba2bea72b77e4d08f9b9acd91e.php @@ -0,0 +1,267 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_option', array('options' => $options), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_option($options); + } + + public function defer_js(string $html) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'defer_js', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->defer_js($html); + } + + public function defer_inline_js(string $html) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'defer_inline_js', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->defer_inline_js($html); + } + + public function get_excluded() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_excluded', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_excluded(); + } + + public function exclude_jquery_combine(array $excluded_files) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'exclude_jquery_combine', array('excluded_files' => $excluded_files), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->exclude_jquery_combine($excluded_files); + } + + public function exclude_jquery_upgrade() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'exclude_jquery_upgrade', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->exclude_jquery_upgrade(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DeferJS\DeferJS $instance) { + unset($instance->options, $instance->data_manager); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\Optimization\DynamicLists\DefaultLists\DataManager $data_manager) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DeferJS\DeferJS $instance) { + unset($instance->options, $instance->data_manager); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $data_manager); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DeferJS\DeferJS $instance) { + unset($instance->options, $instance->data_manager); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DeferJS\\DeferJS')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDeferJSSubscriberGenerated7b1e66591f9da429190e10881e3171fb.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDeferJSSubscriberGenerated7b1e66591f9da429190e10881e3171fb.php new file mode 100644 index 0000000000..fd23c29445 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDeferJSSubscriberGenerated7b1e66591f9da429190e10881e3171fb.php @@ -0,0 +1,246 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'defer_js', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->defer_js($html); + } + + public function defer_inline_js(string $html) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'defer_inline_js', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->defer_inline_js($html); + } + + public function exclude_jquery_combine(array $excluded_files) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'exclude_jquery_combine', array('excluded_files' => $excluded_files), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->exclude_jquery_combine($excluded_files); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DeferJS\Subscriber $instance) { + unset($instance->defer_js); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Optimization\DeferJS\DeferJS $defer_js) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DeferJS\Subscriber $instance) { + unset($instance->defer_js); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($defer_js); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DeferJS\Subscriber $instance) { + unset($instance->defer_js); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DeferJS\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSAdminSettingsGenerated5270d1ece30e85ecf7f653a630462aac.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSAdminSettingsGenerated5270d1ece30e85ecf7f653a630462aac.php new file mode 100644 index 0000000000..4b5360b792 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSAdminSettingsGenerated5270d1ece30e85ecf7f653a630462aac.php @@ -0,0 +1,247 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_options', array('options' => $options), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_options($options); + } + + public function set_option_on_update($old_version) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_option_on_update', array('old_version' => $old_version), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_option_on_update($old_version); + } + + public function sanitize_options($input, $settings) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'sanitize_options', array('input' => $input, 'settings' => $settings), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->sanitize_options($input, $settings); + } + + public function maybe_disable_combine_js($value, $old_value) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_combine_js', array('value' => $value, 'old_value' => $old_value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_combine_js($value, $old_value); + } + + /** + * 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->options_api); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options $options_api) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\Settings'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->options_api); + + } + + $this->valueHolder5c912->__construct($options_api); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->options_api); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSAdminSiteListGeneratedae3fa3c9710f598180a925df45ea7603.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSAdminSiteListGeneratedae3fa3c9710f598180a925df45ea7603.php new file mode 100644 index 0000000000..7468d82089 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSAdminSiteListGeneratedae3fa3c9710f598180a925df45ea7603.php @@ -0,0 +1,308 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_delayjs_exclusions_by_id', array('item_id' => $item_id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_delayjs_exclusions_by_id($item_id); + } + + public function get_delayjs_items_exclusions(array $items) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_delayjs_items_exclusions', array('items' => $items), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_delayjs_items_exclusions($items); + } + + public function get_active_theme() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_active_theme', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_active_theme(); + } + + public function get_active_plugins() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_active_plugins', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_active_plugins(); + } + + public function prepare_delayjs_ui_list() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'prepare_delayjs_ui_list', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->prepare_delayjs_ui_list(); + } + + public function sanitize_options($input) : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'sanitize_options', array('input' => $input), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->sanitize_options($input); + } + + public function refresh_exclusions_option() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'refresh_exclusions_option', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->refresh_exclusions_option(); + } + + public function add_default_plugin_exclusions(string $plugin_base) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_default_plugin_exclusions', array('plugin_base' => $plugin_base), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_default_plugin_exclusions($plugin_base); + } + + public function remove_plugin_selection($plugin_base) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'remove_plugin_selection', array('plugin_base' => $plugin_base), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->remove_plugin_selection($plugin_base); + } + + public function replace_theme_selection($new_theme, $old_theme) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'replace_theme_selection', array('new_theme' => $new_theme, 'old_theme' => $old_theme), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->replace_theme_selection($new_theme, $old_theme); + } + + public function get_default_exclusions() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_default_exclusions', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_default_exclusions(); + } + + /** + * 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->dynamic_lists, $instance->options); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\Admin\SiteList $instance) { + unset($instance->options_api); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Optimization\DynamicLists\DynamicLists $dynamic_lists, \WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Admin\Options $options_api) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->dynamic_lists, $this->options); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\Admin\SiteList $instance) { + unset($instance->options_api); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($dynamic_lists, $options, $options_api); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->dynamic_lists, $this->options); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\Admin\SiteList $instance) { + unset($instance->options_api); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\Admin\\SiteList')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSHTMLGeneratedf07d0e551f0fccf43029afe4dacde862.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSHTMLGeneratedf07d0e551f0fccf43029afe4dacde862.php new file mode 100644 index 0000000000..f6d78ee8cc --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSHTMLGeneratedf07d0e551f0fccf43029afe4dacde862.php @@ -0,0 +1,266 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delay_js', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delay_js($html); + } + + public function is_allowed() : bool + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_allowed', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_allowed(); + } + + public function get_ie_fallback() : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_ie_fallback', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_ie_fallback(); + } + + public function replace_scripts($matches) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'replace_scripts', array('matches' => $matches), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->replace_scripts($matches); + } + + public function move_meta_charset_to_head($html) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'move_meta_charset_to_head', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->move_meta_charset_to_head($html); + } + + /** + * 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->options, $instance->excluded, $instance->logger); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\HTML $instance) { + unset($instance->data_manager, $instance->allowed_types, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\Optimization\DynamicLists\DefaultLists\DataManager $data_manager, \WP_Rocket\Logger\Logger $logger) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->options, $this->excluded, $this->logger); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\HTML $instance) { + unset($instance->data_manager, $instance->allowed_types, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $data_manager, $logger); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->options, $this->excluded, $this->logger); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\HTML $instance) { + unset($instance->data_manager, $instance->allowed_types, $instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\HTML')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSSubscriberGenerated94cf1031e1eb2ef67951adf612ef5f36.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSSubscriberGenerated94cf1031e1eb2ef67951adf612ef5f36.php new file mode 100644 index 0000000000..abc8ebb3bd --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDelayJSSubscriberGenerated94cf1031e1eb2ef67951adf612ef5f36.php @@ -0,0 +1,246 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delay_js', array('buffer_html' => $buffer_html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delay_js($buffer_html); + } + + public function add_delay_js_script($html) : string + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_delay_js_script', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_delay_js_script($html); + } + + public function maybe_disable_option($value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'maybe_disable_option', array('value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->maybe_disable_option($value); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\Subscriber $instance) { + unset($instance->html, $instance->filesystem, $instance->options, $instance->is_enqueued); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Optimization\DelayJS\HTML $html, $filesystem, \WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\Subscriber $instance) { + unset($instance->html, $instance->filesystem, $instance->options, $instance->is_enqueued); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($html, $filesystem, $options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DelayJS\Subscriber $instance) { + unset($instance->html, $instance->filesystem, $instance->options, $instance->is_enqueued); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DelayJS\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDefaultListsAPIClientGenerated730ee7d130e0206c44a6bc225ed7cb31.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDefaultListsAPIClientGenerated730ee7d130e0206c44a6bc225ed7cb31.php new file mode 100644 index 0000000000..3dffcf96cb --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDefaultListsAPIClientGenerated730ee7d130e0206c44a6bc225ed7cb31.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_exclusions_list', array('hash' => $hash), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_exclusions_list($hash); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\APIClient'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDefaultListsDataManagerGenerated9e6670ba2039f576537b0074a51b2b54.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDefaultListsDataManagerGenerated9e6670ba2039f576537b0074a51b2b54.php new file mode 100644 index 0000000000..9eae480574 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDefaultListsDataManagerGenerated9e6670ba2039f576537b0074a51b2b54.php @@ -0,0 +1,252 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_lists', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_lists(); + } + + public function get_lists_hash() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_lists_hash', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_lists_hash(); + } + + public function save_dynamic_lists(string $content) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'save_dynamic_lists', array('content' => $content), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->save_dynamic_lists($content); + } + + /** + * 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->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($filesystem = null) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\DataManager'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DefaultLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDelayJSListsAPIClientGenerated9d2447cea12de5d2e9b1a7ebf0e2a039.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDelayJSListsAPIClientGenerated9d2447cea12de5d2e9b1a7ebf0e2a039.php new file mode 100644 index 0000000000..6f2a0fec8b --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDelayJSListsAPIClientGenerated9d2447cea12de5d2e9b1a7ebf0e2a039.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_exclusions_list', array('hash' => $hash), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_exclusions_list($hash); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\APIClient'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDelayJSListsDataManagerGenerated8c81319ab4e3edf0d7b244e581142099.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDelayJSListsDataManagerGenerated8c81319ab4e3edf0d7b244e581142099.php new file mode 100644 index 0000000000..7227ace29b --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDelayJSListsDataManagerGenerated8c81319ab4e3edf0d7b244e581142099.php @@ -0,0 +1,252 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_lists', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_lists(); + } + + public function get_lists_hash() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_lists_hash', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_lists_hash(); + } + + public function save_dynamic_lists(string $content) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'save_dynamic_lists', array('content' => $content), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->save_dynamic_lists($content); + } + + /** + * 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->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct($filesystem = null) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\DataManager'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DelayJSLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDynamicListsGenerated387b20c67f86faebdea4563a66664fde.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDynamicListsGenerated387b20c67f86faebdea4563a66664fde.php new file mode 100644 index 0000000000..fdf321bdac --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsDynamicListsGenerated387b20c67f86faebdea4563a66664fde.php @@ -0,0 +1,363 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'register_rest_route', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->register_rest_route(); + } + + public function check_permissions() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'check_permissions', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->check_permissions(); + } + + public function rest_update_response() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'rest_update_response', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->rest_update_response(); + } + + public function update_lists_from_remote() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'update_lists_from_remote', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->update_lists_from_remote(); + } + + public function schedule_lists_update() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'schedule_lists_update', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->schedule_lists_update(); + } + + public function clear_schedule_lists_update() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'clear_schedule_lists_update', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->clear_schedule_lists_update(); + } + + public function display_update_lists_section() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_update_lists_section', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_update_lists_section(); + } + + public function get_cache_ignored_parameters() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_cache_ignored_parameters', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_cache_ignored_parameters(); + } + + public function get_js_minify_excluded_external() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_js_minify_excluded_external', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_js_minify_excluded_external(); + } + + public function get_js_move_after_combine() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_js_move_after_combine', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_js_move_after_combine(); + } + + public function get_combine_js_excluded_inline() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_combine_js_excluded_inline', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_combine_js_excluded_inline(); + } + + public function get_preload_exclusions() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_preload_exclusions', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_preload_exclusions(); + } + + public function get_delayjs_list() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_delayjs_list', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_delayjs_list(); + } + + public function get_js_exclude_files() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_js_exclude_files', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_js_exclude_files(); + } + + public function get_incompatible_plugins() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_incompatible_plugins', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_incompatible_plugins(); + } + + public function get_stagings() : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_stagings', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_stagings(); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\DynamicLists $instance) { + unset($instance->providers, $instance->user, $instance->beacon); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(array $providers, \WP_Rocket\Engine\License\API\User $user, $template_path, \WP_Rocket\Engine\Admin\Beacon\Beacon $beacon) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\DynamicLists $instance) { + unset($instance->providers, $instance->user, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($providers, $user, $template_path, $beacon); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\DynamicLists $instance) { + unset($instance->providers, $instance->user, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\DynamicLists')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsIncompatiblePluginsListsAPIClientGenerated61d9b1016b11ff30302daa15327af281.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsIncompatiblePluginsListsAPIClientGenerated61d9b1016b11ff30302daa15327af281.php new file mode 100644 index 0000000000..27f8fb35a8 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsIncompatiblePluginsListsAPIClientGenerated61d9b1016b11ff30302daa15327af281.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_exclusions_list', array('hash' => $hash), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_exclusions_list($hash); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\APIClient'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\APIClient'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractAPIClient $instance) { + unset($instance->response_code, $instance->error_message, $instance->response_body, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractAPIClient')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsIncompatiblePluginsListsDataManagerGenerated0d3f43e8f15ff28e374fd57c9a30caae.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsIncompatiblePluginsListsDataManagerGenerated0d3f43e8f15ff28e374fd57c9a30caae.php new file mode 100644 index 0000000000..1637b25d0e --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationDynamicListsIncompatiblePluginsListsDataManagerGenerated0d3f43e8f15ff28e374fd57c9a30caae.php @@ -0,0 +1,271 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_plugins_list', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_plugins_list(); + } + + public function get_lists() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_lists', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_lists(); + } + + public function get_lists_hash() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_lists_hash', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_lists_hash(); + } + + public function save_dynamic_lists(string $content) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'save_dynamic_lists', array('content' => $content), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->save_dynamic_lists($content); + } + + /** + * 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->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\IncompatiblePluginsLists\DataManager $instance) { + unset($instance->options); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\IncompatiblePluginsLists\DataManager $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->cache_duration); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\IncompatiblePluginsLists\DataManager $instance) { + unset($instance->options); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\IncompatiblePluginsLists\\DataManager')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\DynamicLists\AbstractDataManager $instance) { + unset($instance->filesystem); + }, $this, 'WP_Rocket\\Engine\\Optimization\\DynamicLists\\AbstractDataManager')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsAdminSettingsGeneratedaae7c24013c897a8851112bf9c20c5ae.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsAdminSettingsGeneratedaae7c24013c897a8851112bf9c20c5ae.php new file mode 100644 index 0000000000..b772e897a5 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsAdminSettingsGeneratedaae7c24013c897a8851112bf9c20c5ae.php @@ -0,0 +1,265 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'display_google_fonts_enabler', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->display_google_fonts_enabler(); + } + + public function enable_google_fonts() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'enable_google_fonts', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->enable_google_fonts(); + } + + public function generate($template, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'generate', array('template' => $template, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->generate($template, $data); + } + + public function render_action_button($type, $action, $args = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'render_action_button', array('type' => $type, 'action' => $action, 'args' => $args), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->render_action_button($type, $action, $args); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Admin\Settings $instance) { + unset($instance->options, $instance->beacon); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings')->__invoke($instance); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $instance, 'WP_Rocket\\Abstract_Render')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, \WP_Rocket\Engine\Admin\Beacon\Beacon $beacon, $template_path) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Admin\Settings $instance) { + unset($instance->options, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options, $beacon, $template_path); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Admin\Settings $instance) { + unset($instance->options, $instance->beacon); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Admin\\Settings')->__invoke($this); + + \Closure::bind(function (\WP_Rocket\Abstract_Render $instance) { + unset($instance->template_path); + }, $this, 'WP_Rocket\\Abstract_Render')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsCombineGeneratedf792d9fa5e1d7e3a3c39e2e1304a0504.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsCombineGeneratedf792d9fa5e1d7e3a3c39e2e1304a0504.php new file mode 100644 index 0000000000..5fd8c7ac30 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsCombineGeneratedf792d9fa5e1d7e3a3c39e2e1304a0504.php @@ -0,0 +1,243 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'optimize', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->optimize($html); + } + + public function has_google_fonts() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has_google_fonts', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has_google_fonts(); + } + + /** + * 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->fonts, $instance->subsets, $instance->display_values, $instance->has_google_fonts); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Combine $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->fonts, $this->subsets, $this->display_values, $this->has_google_fonts); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Combine $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine')->__invoke($this); + + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->fonts, $this->subsets, $this->display_values, $this->has_google_fonts); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Combine $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Combine')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsCombineV2Generated72017dc193efa1b143377ef23c65e08d.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsCombineV2Generated72017dc193efa1b143377ef23c65e08d.php new file mode 100644 index 0000000000..ca261f1abd --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsCombineV2Generated72017dc193efa1b143377ef23c65e08d.php @@ -0,0 +1,243 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'optimize', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->optimize($html); + } + + public function has_google_fonts() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has_google_fonts', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has_google_fonts(); + } + + /** + * 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->display_values, $instance->has_google_fonts); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\CombineV2 $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->display_values, $this->has_google_fonts); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\CombineV2 $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2')->__invoke($this); + + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->display_values, $this->has_google_fonts); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\CombineV2 $instance) { + unset($instance->xmp_replace, $instance->html_replace, $instance->svg_replace); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\CombineV2')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsSubscriberGenerated084e0d6ffa10d57115e3705a02ff881d.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsSubscriberGenerated084e0d6ffa10d57115e3705a02ff881d.php new file mode 100644 index 0000000000..6ac342eb50 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationGoogleFontsSubscriberGenerated084e0d6ffa10d57115e3705a02ff881d.php @@ -0,0 +1,239 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'preconnect', array('urls' => $urls, 'relation_type' => $relation_type), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->preconnect($urls, $relation_type); + } + + public function process($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'process', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->process($html); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Subscriber $instance) { + unset($instance->options, $instance->combine, $instance->combine_v2); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Optimization\GoogleFonts\AbstractGFOptimization $combine, \WP_Rocket\Engine\Optimization\GoogleFonts\AbstractGFOptimization $combine_v2, \WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Subscriber $instance) { + unset($instance->options, $instance->combine, $instance->combine_v2); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($combine, $combine_v2, $options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\GoogleFonts\Subscriber $instance) { + unset($instance->options, $instance->combine, $instance->combine_v2); + }, $this, 'WP_Rocket\\Engine\\Optimization\\GoogleFonts\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationIEConditionalSubscriberGenerated2219a39175f0b1276e3877b228784575.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationIEConditionalSubscriberGenerated2219a39175f0b1276e3877b228784575.php new file mode 100644 index 0000000000..e09ba1fc08 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationIEConditionalSubscriberGenerated2219a39175f0b1276e3877b228784575.php @@ -0,0 +1,237 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'extract_ie_conditionals', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->extract_ie_conditionals($html); + } + + public function inject_ie_conditionals($html) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'inject_ie_conditionals', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->inject_ie_conditionals($html); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Optimization\IEConditionalSubscriber $instance) { + unset($instance->conditionals); + }, $instance, 'WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Optimization\IEConditionalSubscriber $instance) { + unset($instance->conditionals); + }, $this, 'WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber')->__invoke($this); + + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Optimization\IEConditionalSubscriber $instance) { + unset($instance->conditionals); + }, $this, 'WP_Rocket\\Engine\\Optimization\\IEConditionalSubscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyCSSAdminSubscriberGeneratedaf1c6d620edd79832310a607c3431a68.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyCSSAdminSubscriberGeneratedaf1c6d620edd79832310a607c3431a68.php new file mode 100644 index 0000000000..4795fee978 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyCSSAdminSubscriberGeneratedaf1c6d620edd79832310a607c3431a68.php @@ -0,0 +1,240 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'clean_minify', array('old' => $old, 'new' => $new), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->clean_minify($old, $new); + } + + public function regenerate_minify_css_key($new, $old) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'regenerate_minify_css_key', array('new' => $new, 'old' => $old), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->regenerate_minify_css_key($new, $old); + } + + public function on_update($new_version, $old_version) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'on_update', array('new_version' => $new_version, 'old_version' => $old_version), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->on_update($new_version, $old_version); + } + + public function add_meta_box(array $fields) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_meta_box', array('fields' => $fields), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_meta_box($fields); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\AdminSubscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\AdminSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\AdminSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\AdminSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\AdminSubscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyCSSSubscriberGeneratedf625bbb61b4b9032d2963bbc0f905516.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyCSSSubscriberGeneratedf625bbb61b4b9032d2963bbc0f905516.php new file mode 100644 index 0000000000..8804e77d60 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyCSSSubscriberGeneratedf625bbb61b4b9032d2963bbc0f905516.php @@ -0,0 +1,247 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'process', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->process($html); + } + + public function get_zones() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_zones', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_zones(); + } + + public function fix_ssl_minify($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'fix_ssl_minify', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->fix_ssl_minify($url); + } + + public function i18n_multidomain_url($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'i18n_multidomain_url', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->i18n_multidomain_url($url); + } + + /** + * 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->options, $instance->processor, $instance->filesystem); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, $filesystem) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->options, $this->processor, $this->filesystem); + + } + + $this->valueHolder5c912->__construct($options, $filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\CSS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->options, $this->processor, $this->filesystem); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyJSSubscriberGenerated9c75d6a2458142cf6fd3cf0c7b09bd62.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyJSSubscriberGenerated9c75d6a2458142cf6fd3cf0c7b09bd62.php new file mode 100644 index 0000000000..77f0238960 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineOptimizationMinifyJSSubscriberGenerated9c75d6a2458142cf6fd3cf0c7b09bd62.php @@ -0,0 +1,247 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'process', array('html' => $html), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->process($html); + } + + public function get_zones() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_zones', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_zones(); + } + + public function fix_ssl_minify($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'fix_ssl_minify', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->fix_ssl_minify($url); + } + + public function i18n_multidomain_url($url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'i18n_multidomain_url', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->i18n_multidomain_url($url); + } + + /** + * 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->options, $instance->processor, $instance->filesystem); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options, $filesystem) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\JS\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->options, $this->processor, $this->filesystem); + + } + + $this->valueHolder5c912->__construct($options, $filesystem); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\JS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\JS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\JS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Optimization\\Minify\\JS\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->options, $this->processor, $this->filesystem); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEnginePreloadDatabaseQueriesCacheGenerated5cb016bfa09ae66ff09e5e3a45232b15.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEnginePreloadDatabaseQueriesCacheGenerated5cb016bfa09ae66ff09e5e3a45232b15.php new file mode 100644 index 0000000000..37be6be9bc --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEnginePreloadDatabaseQueriesCacheGenerated5cb016bfa09ae66ff09e5e3a45232b15.php @@ -0,0 +1,451 @@ + true, + 'items' => true, + ]; + + private static $signature5cb016bfa09ae66ff09e5e3a45232b15 = 'YTo0OntzOjk6ImNsYXNzTmFtZSI7czo0NzoiV1BfUm9ja2V0XEVuZ2luZVxQcmVsb2FkXERhdGFiYXNlXFF1ZXJpZXNcQ2FjaGUiO3M6NzoiZmFjdG9yeSI7czo1MDoiUHJveHlNYW5hZ2VyXEZhY3RvcnlcTGF6eUxvYWRpbmdWYWx1ZUhvbGRlckZhY3RvcnkiO3M6MTk6InByb3h5TWFuYWdlclZlcnNpb24iO3M6NDg6InYxLjAuMTZAZWNhZGJkYzkwNTJlNGFkMDhjNjBjOGEwMjI2ODcxMmU1MDQyN2Y3YyI7czoxMjoicHJveHlPcHRpb25zIjthOjA6e319'; + + public function create_or_update(array $resource) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'create_or_update', array('resource' => $resource), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->create_or_update($resource); + } + + public function create_or_nothing(array $resource) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'create_or_nothing', array('resource' => $resource), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->create_or_nothing($resource); + } + + public function get_rows_by_url(string $url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_rows_by_url', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_rows_by_url($url); + } + + public function delete_by_url(string $url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete_by_url', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete_by_url($url); + } + + public function get_old_cache(float $delay = 1, string $unit = 'month') : array + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_old_cache', array('delay' => $delay, 'unit' => $unit), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_old_cache($delay, $unit); + } + + public function remove_all_not_accessed_rows(float $delay = 1, string $unit = 'month') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'remove_all_not_accessed_rows', array('delay' => $delay, 'unit' => $unit), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->remove_all_not_accessed_rows($delay, $unit); + } + + public function get_pending_jobs(int $total = 45) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_pending_jobs', array('total' => $total), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_pending_jobs($total); + } + + public function make_status_inprogress(int $id) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'make_status_inprogress', array('id' => $id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->make_status_inprogress($id); + } + + public function make_status_complete(string $url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'make_status_complete', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->make_status_complete($url); + } + + public function has_pending_jobs() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'has_pending_jobs', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->has_pending_jobs(); + } + + public function revert_in_progress() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'revert_in_progress', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->revert_in_progress(); + } + + public function revert_old_in_progress() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'revert_old_in_progress', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->revert_old_in_progress(); + } + + public function revert_old_failed() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'revert_old_failed', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->revert_old_failed(); + } + + public function set_all_to_pending() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_all_to_pending', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_all_to_pending(); + } + + public function is_preloaded(string $url) : bool + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_preloaded', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_preloaded($url); + } + + public function is_pending(string $url) : bool + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_pending', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_pending($url); + } + + public function remove_all() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'remove_all', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->remove_all(); + } + + public function lock(string $url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'lock', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->lock($url); + } + + public function unlock_all() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'unlock_all', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->unlock_all(); + } + + public function unlock(string $url) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'unlock', array('url' => $url), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->unlock($url); + } + + public function make_status_failed(int $id) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'make_status_failed', array('id' => $id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->make_status_failed($id); + } + + public function update_last_access(int $id) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'update_last_access', array('id' => $id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->update_last_access($id); + } + + public function get_outdated_in_progress_jobs(int $delay = 3) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_outdated_in_progress_jobs', array('delay' => $delay), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_outdated_in_progress_jobs($delay); + } + + public function query($query = [], bool $use_cache = true) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'query', array('query' => $query, 'use_cache' => $use_cache), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->query($query, $use_cache); + } + + public function set_query_var($key = '', $value = '') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'set_query_var', array('key' => $key, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->set_query_var($key, $value); + } + + public function is_query_var_default($key = '') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'is_query_var_default', array('key' => $key), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->is_query_var_default($key); + } + + public function get_item($item_id = 0) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_item', array('item_id' => $item_id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_item($item_id); + } + + public function get_item_by($column_name = '', $column_value = '') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_item_by', array('column_name' => $column_name, 'column_value' => $column_value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_item_by($column_name, $column_value); + } + + public function add_item($data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'add_item', array('data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->add_item($data); + } + + public function copy_item($item_id = 0, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'copy_item', array('item_id' => $item_id, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->copy_item($item_id, $data); + } + + public function update_item($item_id = 0, $data = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'update_item', array('item_id' => $item_id, 'data' => $data), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->update_item($item_id, $data); + } + + public function delete_item($item_id = 0) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'delete_item', array('item_id' => $item_id), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->delete_item($item_id); + } + + public function filter_item($item = []) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'filter_item', array('item' => $item), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->filter_item($item); + } + + public function get_results($cols = [], $where_cols = [], $limit = 25, $offset = null, $output = 'OBJECT') + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_results', array('cols' => $cols, 'where_cols' => $where_cols, 'limit' => $limit, 'offset' => $offset, 'output' => $output), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_results($cols, $where_cols, $limit, $offset, $output); + } + + public function to_array() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'to_array', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->to_array(); + } + + /** + * 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->query_vars, $instance->items, $instance->logger, $instance->table_name, $instance->table_alias, $instance->table_schema, $instance->item_name, $instance->item_name_plural, $instance->item_shape, $instance->cache_group, $instance->last_changed, $instance->columns, $instance->query_clauses, $instance->request_clauses, $instance->meta_query, $instance->date_query, $instance->compare_query, $instance->query_var_originals, $instance->query_var_defaults, $instance->query_var_default_value, $instance->found_items, $instance->max_num_pages, $instance->request, $instance->db_global, $instance->prefix, $instance->last_error); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Logger\Logger $logger, $query = []) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Preload\\Database\\Queries\\Cache'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + unset($this->query_vars, $this->items, $this->logger, $this->table_name, $this->table_alias, $this->table_schema, $this->item_name, $this->item_name_plural, $this->item_shape, $this->cache_group, $this->last_changed, $this->columns, $this->query_clauses, $this->request_clauses, $this->meta_query, $this->date_query, $this->compare_query, $this->query_var_originals, $this->query_var_defaults, $this->query_var_default_value, $this->found_items, $this->max_num_pages, $this->request, $this->db_global, $this->prefix, $this->last_error); + + } + + $this->valueHolder5c912->__construct($logger, $query); + } + + public function __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + return $this->valueHolder5c912->__get($name); + } + + public function __set($name, $value) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return ($this->valueHolder5c912->$name = $value); + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Preload\\Database\\Queries\\Cache'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return isset($this->valueHolder5c912->$name); + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Preload\\Database\\Queries\\Cache'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + unset($this->valueHolder5c912->$name); + + return; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Preload\\Database\\Queries\\Cache'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + unset($this->query_vars, $this->items, $this->logger, $this->table_name, $this->table_alias, $this->table_schema, $this->item_name, $this->item_name_plural, $this->item_shape, $this->cache_group, $this->last_changed, $this->columns, $this->query_clauses, $this->request_clauses, $this->meta_query, $this->date_query, $this->compare_query, $this->query_var_originals, $this->query_var_defaults, $this->query_var_default_value, $this->found_items, $this->max_num_pages, $this->request, $this->db_global, $this->prefix, $this->last_error); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineSupportDataGeneratedcbb767300cfe39c333780cbd59882ebe.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineSupportDataGeneratedcbb767300cfe39c333780cbd59882ebe.php new file mode 100644 index 0000000000..ca92423281 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineSupportDataGeneratedcbb767300cfe39c333780cbd59882ebe.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_support_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_support_data(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Support\Data $instance) { + unset($instance->options, $instance->to_send); + }, $instance, 'WP_Rocket\\Engine\\Support\\Data')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Support\\Data'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Support\Data $instance) { + unset($instance->options, $instance->to_send); + }, $this, 'WP_Rocket\\Engine\\Support\\Data')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Data'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Support\Data $instance) { + unset($instance->options, $instance->to_send); + }, $this, 'WP_Rocket\\Engine\\Support\\Data')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineSupportRestGeneratedc4e30ad7486b7abe2fc2de029728747a.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineSupportRestGeneratedc4e30ad7486b7abe2fc2de029728747a.php new file mode 100644 index 0000000000..96a0c23b05 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineSupportRestGeneratedc4e30ad7486b7abe2fc2de029728747a.php @@ -0,0 +1,253 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'register_route', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->register_route(); + } + + public function get_support_data() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'get_support_data', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->get_support_data(); + } + + public function validate_email($param) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'validate_email', array('param' => $param), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->validate_email($param); + } + + public function validate_key($param) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'validate_key', array('param' => $param), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->validate_key($param); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\Support\Rest $instance) { + unset($instance->data, $instance->options); + }, $instance, 'WP_Rocket\\Engine\\Support\\Rest')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\Support\Data $data, \WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\Support\\Rest'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\Support\Rest $instance) { + unset($instance->data, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Support\\Rest')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($data, $options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Rest'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Rest'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Rest'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\Support\\Rest'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\Support\Rest $instance) { + unset($instance->data, $instance->options); + }, $this, 'WP_Rocket\\Engine\\Support\\Rest')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineTestLazyloadSubscriberGeneratede29116f914bdd101872ce3fdc7ff9c33.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineTestLazyloadSubscriberGeneratede29116f914bdd101872ce3fdc7ff9c33.php new file mode 100644 index 0000000000..bab92203c4 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineTestLazyloadSubscriberGeneratede29116f914bdd101872ce3fdc7ff9c33.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'log_message_in_dashboard_only', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->log_message_in_dashboard_only(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\Engine\TestLazyload\Subscriber $instance) { + unset($instance->test_class); + }, $instance, 'WP_Rocket\\Engine\\TestLazyload\\Subscriber')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Engine\TestLazyload\TestClass $test_class) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\Subscriber'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\Engine\TestLazyload\Subscriber $instance) { + unset($instance->test_class); + }, $this, 'WP_Rocket\\Engine\\TestLazyload\\Subscriber')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($test_class); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\Subscriber'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\Engine\TestLazyload\Subscriber $instance) { + unset($instance->test_class); + }, $this, 'WP_Rocket\\Engine\\TestLazyload\\Subscriber')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineTestLazyloadTestClassGeneratedd9d9fe17849f2e172027ed2dff63d478.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineTestLazyloadTestClassGeneratedd9d9fe17849f2e172027ed2dff63d478.php new file mode 100644 index 0000000000..e93554672d --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketEngineTestLazyloadTestClassGeneratedd9d9fe17849f2e172027ed2dff63d478.php @@ -0,0 +1,221 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'test1', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->test1(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\TestClass'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + + $this->valueHolder5c912->__construct(); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\TestClass'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\TestClass'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\TestClass'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Engine\\TestLazyload\\TestClass'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketLoggerLoggerGeneratedc728ce8d97092058e3b7780fd76e42d1.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketLoggerLoggerGeneratedc728ce8d97092058e3b7780fd76e42d1.php new file mode 100644 index 0000000000..5845f42c8e --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketLoggerLoggerGeneratedc728ce8d97092058e3b7780fd76e42d1.php @@ -0,0 +1,212 @@ +newInstanceWithoutConstructor(); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct() + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\Logger\\Logger'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + } + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Logger\\Logger'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Logger\\Logger'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Logger\\Logger'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\Logger\\Logger'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketThirdPartyPluginsOptimizationHummingbirdGenerated950d4a5bf8d9f738898fdf407aba938b.php b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketThirdPartyPluginsOptimizationHummingbirdGenerated950d4a5bf8d9f738898fdf407aba938b.php new file mode 100644 index 0000000000..614d7d4c93 --- /dev/null +++ b/inc/Dependencies/League/Container/Cache/ProxyManagerGeneratedProxy__PM__WP_RocketThirdPartyPluginsOptimizationHummingbirdGenerated950d4a5bf8d9f738898fdf407aba938b.php @@ -0,0 +1,232 @@ +initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'warning_notice', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return $this->valueHolder5c912->warning_notice(); + } + + /** + * Constructor for lazy initialization + * + * @param \Closure|null $initializer + */ + public static function staticProxyConstructor($initializer) + { + static $reflection; + + $reflection = $reflection ?? new \ReflectionClass(__CLASS__); + $instance = $reflection->newInstanceWithoutConstructor(); + + \Closure::bind(function (\WP_Rocket\ThirdParty\Plugins\Optimization\Hummingbird $instance) { + unset($instance->options, $instance->errors); + }, $instance, 'WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird')->__invoke($instance); + + $instance->initializerb4055 = $initializer; + + return $instance; + } + + public function __construct(\WP_Rocket\Admin\Options_Data $options) + { + static $reflection; + + if (! $this->valueHolder5c912) { + $reflection = $reflection ?? new \ReflectionClass('WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird'); + $this->valueHolder5c912 = $reflection->newInstanceWithoutConstructor(); + \Closure::bind(function (\WP_Rocket\ThirdParty\Plugins\Optimization\Hummingbird $instance) { + unset($instance->options, $instance->errors); + }, $this, 'WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird')->__invoke($this); + + } + + $this->valueHolder5c912->__construct($options); + } + + public function & __get($name) + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__get', ['name' => $name], $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + if (isset(self::$publicProperties3f2b9[$name])) { + return $this->valueHolder5c912->$name; + } + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $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->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + $targetObject->$name = $value; + + return $targetObject->$name; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__isset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + return isset($targetObject->$name); + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__unset', array('name' => $name), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $realInstanceReflection = new \ReflectionClass('WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird'); + + if (! $realInstanceReflection->hasProperty($name)) { + $targetObject = $this->valueHolder5c912; + + unset($targetObject->$name); + + return; + } + + $targetObject = $this->valueHolder5c912; + $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->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__clone', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + $this->valueHolder5c912 = clone $this->valueHolder5c912; + } + + public function __sleep() + { + $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, '__sleep', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + + return array('valueHolder5c912'); + } + + public function __wakeup() + { + \Closure::bind(function (\WP_Rocket\ThirdParty\Plugins\Optimization\Hummingbird $instance) { + unset($instance->options, $instance->errors); + }, $this, 'WP_Rocket\\ThirdParty\\Plugins\\Optimization\\Hummingbird')->__invoke($this); + } + + public function setProxyInitializer(\Closure $initializer = null) : void + { + $this->initializerb4055 = $initializer; + } + + public function getProxyInitializer() : ?\Closure + { + return $this->initializerb4055; + } + + public function initializeProxy() : bool + { + return $this->initializerb4055 && ($this->initializerb4055->__invoke($valueHolder5c912, $this, 'initializeProxy', array(), $this->initializerb4055) || 1) && $this->valueHolder5c912 = $valueHolder5c912; + } + + public function isProxyInitialized() : bool + { + return null !== $this->valueHolder5c912; + } + + public function getWrappedValueHolderValue() + { + return $this->valueHolder5c912; + } +} diff --git a/inc/Dependencies/League/Container/Container.php b/inc/Dependencies/League/Container/Container.php index 2dd1f5a042..a6fe3e2e27 100644 --- a/inc/Dependencies/League/Container/Container.php +++ b/inc/Dependencies/League/Container/Container.php @@ -14,10 +14,15 @@ class Container implements ContainerInterface { - /** - * @var boolean - */ - protected $defaultToShared = false; + /** + * @var boolean + */ + protected $defaultToShared = false; + + /** + * @var boolean + */ + protected $defaultToLazy = false; /** * @var DefinitionAggregateInterface @@ -98,19 +103,32 @@ public function share(string $id, $concrete = null) : DefinitionInterface return $this->add($id, $concrete, true); } - /** - * Whether the container should default to defining shared definitions. - * - * @param boolean $shared - * - * @return self - */ - public function defaultToShared(bool $shared = true) : ContainerInterface - { - $this->defaultToShared = $shared; - - return $this; - } + /** + * Whether the container should default to defining shared definitions. + * + * @param boolean $shared + * + * @return self + */ + public function defaultToShared(bool $shared = true) : ContainerInterface + { + $this->defaultToShared = $shared; + + return $this; + } + + /** + * Whether the container should default to defining shared definitions. + * + * @param boolean $lazy + * + * @return self + */ + public function defaultToLazy(bool $lazy = true) : ContainerInterface + { + $this->defaultToLazy = $lazy; + return $this; + } /** * Get a definition to extend. @@ -151,10 +169,12 @@ public function addServiceProvider($provider) : self /** * {@inheritdoc} */ - public function get($id, bool $new = false) + public function get($id, bool $new = false, bool $lazy = false) { + $lazy = $lazy ?: $this->defaultToLazy; + if ($this->definitions->has($id)) { - $resolved = $this->definitions->resolve($id, $new); + $resolved = $this->definitions->resolve($id, $new, $lazy); return $this->inflectors->inflect($resolved); } diff --git a/inc/Dependencies/League/Container/Definition/Definition.php b/inc/Dependencies/League/Container/Definition/Definition.php index 09cdeef8f0..afdcc18c62 100644 --- a/inc/Dependencies/League/Container/Definition/Definition.php +++ b/inc/Dependencies/League/Container/Definition/Definition.php @@ -186,7 +186,7 @@ public function addMethodCalls(array $methods = []) : DefinitionInterface /** * {@inheritdoc} */ - public function resolve(bool $new = false) + public function resolve(bool $new = false, bool $lazy = false) { $concrete = $this->concrete; @@ -209,7 +209,7 @@ public function resolve(bool $new = false) } if (is_string($concrete) && class_exists($concrete)) { - $concrete = $this->resolveClass($concrete); + $concrete = $this->resolveClass($concrete, $lazy); } if (is_object($concrete)) { @@ -248,14 +248,50 @@ protected function resolveCallable(callable $concrete) * * @throws ReflectionException */ - protected function resolveClass(string $concrete) + protected function resolveClass(string $concrete, bool $lazy = false) { + //error_log($concrete); $resolved = $this->resolveArguments($this->arguments); - $reflection = new ReflectionClass($concrete); + if ( ! $lazy ) { + return $this->createInstance($concrete, $resolved); + } - return $reflection->newInstanceArgs($resolved); + // for lazyload + return $this->createProxy( $concrete, $resolved ); } + private function createInstance( $concrete, $resolved ) + { + $reflection = new ReflectionClass($concrete); + + return $reflection->newInstanceArgs($resolved); + } + + private function createProxy( $concrete, $resolved ) + { + $config = new \ProxyManager\Configuration(); + + $cache_dir = __DIR__ . '/../Cache'; + + $fileLocator = new \ProxyManager\FileLocator\FileLocator( $cache_dir ); + $config->setGeneratorStrategy(new \ProxyManager\GeneratorStrategy\FileWriterGeneratorStrategy($fileLocator)); + + $config->setProxiesTargetDir( $cache_dir ); + + spl_autoload_register($config->getProxyAutoloader()); + + $factory = new \ProxyManager\Factory\LazyLoadingValueHolderFactory($config); + return $factory->createProxy( + $concrete, + function (& $wrappedObject, $proxy, $method, $params, & $initializer) use ($concrete, $resolved) { + $wrappedObject = $this->createInstance($concrete, $resolved); + $initializer = null; // turning off further lazy initialization + + return true; + } + ); + } + /** * Invoke methods on resolved instance. * diff --git a/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php b/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php index a3094a19be..0474ed29eb 100644 --- a/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php +++ b/inc/Dependencies/League/Container/Definition/DefinitionAggregate.php @@ -89,9 +89,10 @@ public function getDefinition(string $id) : DefinitionInterface /** * {@inheritdoc} */ - public function resolve(string $id, bool $new = false) + public function resolve(string $id, bool $new = false, bool $lazy = false) { - return $this->getDefinition($id)->resolve($new); + //error_log( var_export( gettype( $this->getDefinition($id) ), true ) ); + return $this->getDefinition($id)->resolve($new, $lazy); } /** diff --git a/inc/Engine/Cache/ServiceProvider.php b/inc/Engine/Cache/ServiceProvider.php index 2c61e43ef7..d3b6aeea4e 100644 --- a/inc/Engine/Cache/ServiceProvider.php +++ b/inc/Engine/Cache/ServiceProvider.php @@ -46,7 +46,7 @@ public function register() { $this->getContainer()->add( 'preload_caches_query', CacheQuery::class ) ->addArgument( new Logger() ); - $cache_query = $this->getContainer()->get( 'preload_caches_query' ); + $cache_query = $this->getContainer()->defaultToLazy( false )->get( 'preload_caches_query' ); $this->getContainer()->add( 'advanced_cache', AdvancedCache::class ) ->addArgument( $this->getContainer()->get( 'template_path' ) . '/cache/' ) diff --git a/inc/Engine/Preload/ServiceProvider.php b/inc/Engine/Preload/ServiceProvider.php index a32817421d..e0c5b76828 100755 --- a/inc/Engine/Preload/ServiceProvider.php +++ b/inc/Engine/Preload/ServiceProvider.php @@ -73,7 +73,7 @@ public function register() { ->addArgument( new Logger() ); $this->getContainer()->get( 'preload_caches_table' ); - $cache_query = $this->getContainer()->get( 'preload_caches_query' ); + $cache_query = $this->getContainer()->defaultToLazy( false )->get( 'preload_caches_query' ); $this->getContainer()->add( 'preload_queue', Queue::class ); $queue = $this->getContainer()->get( 'preload_queue' ); diff --git a/inc/Engine/TestLazyload/ServiceProvider.php b/inc/Engine/TestLazyload/ServiceProvider.php new file mode 100644 index 0000000000..3e4337628f --- /dev/null +++ b/inc/Engine/TestLazyload/ServiceProvider.php @@ -0,0 +1,36 @@ +getContainer() + ->add( 'test_lazyload_class', TestClass::class ); + + $this->getContainer() + ->share( 'test_lazyload_subscriber', Subscriber::class ) + ->addArgument( $this->getContainer()->defaultToLazy( true )->get( 'test_lazyload_class' ) );// new code + } +} diff --git a/inc/Engine/TestLazyload/Subscriber.php b/inc/Engine/TestLazyload/Subscriber.php new file mode 100644 index 0000000000..145384bd73 --- /dev/null +++ b/inc/Engine/TestLazyload/Subscriber.php @@ -0,0 +1,25 @@ +test_class = $test_class; + } + + public static function get_subscribed_events() { + return [ + 'wp_dashboard_setup' => 'log_message_in_dashboard_only', + ]; + } + + public function log_message_in_dashboard_only() + { + $this->test_class->test1(); + } + +} diff --git a/inc/Engine/TestLazyload/TestClass.php b/inc/Engine/TestLazyload/TestClass.php new file mode 100644 index 0000000000..51b0397d48 --- /dev/null +++ b/inc/Engine/TestLazyload/TestClass.php @@ -0,0 +1,18 @@ +container->addServiceProvider( APIServiceProvider::class ); $this->container->addServiceProvider( CommmonExtractCSSServiceProvider::class ); $this->container->addServiceProvider( LazyloadCSSServiceProvider::class ); + $this->container->addServiceProvider( \WP_Rocket\Engine\TestLazyload\ServiceProvider::class ); $common_subscribers = [ 'license_subscriber', @@ -382,6 +383,7 @@ private function init_common_subscribers() { 'shoptimizer', 'weglot', 'contactform7', + 'test_lazyload_subscriber', ]; $host_type = HostResolver::get_host_service();