REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 702 B
Close
/home/nshryvcy/himaltourism.com/wp-content/plugins/mailpoet/lib/API/API.php
Text
Base64
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\API; if (!defined('ABSPATH')) exit; use MailPoet\DI\ContainerWrapper; use MailPoetVendor\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; class API { /** * @param string $version * @return \MailPoet\API\MP\v1\API * @throws \Exception */ public static function MP($version) { $apiClass = sprintf('%s\MP\%s\API', __NAMESPACE__, $version); try { return ContainerWrapper::getInstance()->get($apiClass); } catch (ServiceNotFoundException $e) { throw new \Exception(__('Invalid API version.', 'mailpoet')); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 3 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
JSON
DIR
-
drwxr-xr-x
2023-04-04 05:35:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MP
DIR
-
drwxr-xr-x
2023-04-04 05:35:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
REST
DIR
-
drwxr-xr-x
2023-04-04 05:35:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
API.php
702 B
lrw-r--r--
2023-04-04 05:35:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.php
0 B
lrw-r--r--
2023-04-04 05:35:40
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).