getContainer() ->inflector( 'WP_Rocket\Engine\Deactivation\DeactivationInterface' ) ->invokeMethod( 'deactivate', [] ); } /** * Registers the option array in the container. */ public function register() { $filesystem = rocket_direct_filesystem(); $this->getContainer()->add( 'advanced_cache', 'WP_Rocket\Engine\Cache\AdvancedCache' ) ->withArgument( $this->getContainer()->get( 'template_path' ) . '/cache/' ) ->withArgument( $filesystem ); $this->getContainer()->add( 'capabilities_manager', 'WP_Rocket\Engine\Capabilities\Manager' ); $this->getContainer()->add( 'wp_cache', 'WP_Rocket\Engine\Cache\WPCache' ) ->withArgument( $filesystem ); } }