File "ExternalPluginAccess.php"
Full Path: /home/jlklyejr/public_html/post-date/wp-content/plugins/flexible-shipping/src/WPDesk/FS/Integration/ExternalPluginAccess.php
File size: 828 bytes
MIME-type: text/x-php
Charset: utf-8
<?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;
}
}