REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.03 KB
Close
/home/nshryvcy/himaltourism.com/wp-content/plugins/woocommerce-paypal-payments/src/services.php
Text
Base64
<?php /** * The plugin module services. * * @package WooCommerce\PayPalCommerce */ declare(strict_types=1); namespace WooCommerce\PayPalCommerce; use Dhii\Versions\StringVersionFactory; use WooCommerce\PayPalCommerce\Http\RedirectorInterface; use WooCommerce\PayPalCommerce\Http\WpRedirector; use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface; use WpOop\WordPress\Plugin\PluginInterface; return array( 'ppcp.plugin' => function( ContainerInterface $container ) : PluginInterface { $factory = new FilePathPluginFactory( new StringVersionFactory() ); return $factory->createPluginFromFilePath( dirname( realpath( __FILE__ ), 2 ) . '/woocommerce-paypal-payments.php' ); }, 'ppcp.asset-version' => function( ContainerInterface $container ) : string { $plugin = $container->get( 'ppcp.plugin' ); assert( $plugin instanceof PluginInterface ); return (string) $plugin->getVersion(); }, 'http.redirector' => function( ContainerInterface $container ) : RedirectorInterface { return new WpRedirector(); }, );
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Http
DIR
-
drwxr-xr-x
2023-04-04 05:36:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
extensions.php
171 B
lrw-r--r--
2023-04-04 05:36:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FilePathPluginFactory.php
3.61 KB
lrw-r--r--
2023-04-04 05:36:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Plugin.php
3.42 KB
lrw-r--r--
2023-04-04 05:36:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PluginModule.php
913 B
lrw-r--r--
2023-04-04 05:36:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PPCP.php
1.08 KB
lrw-r--r--
2023-04-04 05:36:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
services.php
1.03 KB
lrw-r--r--
2023-04-04 05:36:17
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).