Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
post-date
/
wp-content
/
plugins
/
flexible-shipping
/
src
/
WPDesk
/
FS
/
Integration
:
ExternalPluginAccess.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * Class ExternalPluginAccess * * @package WPDesk\FS\Integration */ namespace WPDesk\FS\Integration; use Psr\Log\LoggerInterface; /** * Provides plugin data for integrations. */ class ExternalPluginAccess { /** * @var string */ private $plugin_version; /** * @var LoggerInterface */ private $logger; /** * ExternalPluginAccess constructor. * * @param string $plugin_version . * @param LoggerInterface $logger . */ public function __construct( $plugin_version, LoggerInterface $logger ) { $this->plugin_version = $plugin_version; $this->logger = $logger; } /** * @return string */ public function get_plugin_version() { return $this->plugin_version; } /** * @return LoggerInterface */ public function get_logger() { return $this->logger; } }