403Webshell
Server IP : 104.21.14.103  /  Your IP : 3.139.81.143
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/home/giankuin/thietke365.net/wp-content/plugins/mailpoet/lib/Doctrine/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/home/giankuin/thietke365.net/wp-content/plugins/mailpoet/lib/Doctrine/PSRCacheItem.php
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing

namespace MailPoet\Doctrine;

if (!defined('ABSPATH')) exit;


use MailPoetVendor\Psr\Cache\CacheItemInterface;

class PSRCacheItem implements CacheItemInterface {

  /** @var string */
  private $key;

  /** @var mixed */
  private $value;

  /** @var bool */
  private $isHit;

  public function __construct(
    string $key,
    bool $isHit
  ) {
    $this->key = $key;
    $this->isHit = $isHit;
  }

  /**
   * @inheritDoc
   */
  public function getKey(): string {
    return $this->key;
  }

  /**
   * @inheritDoc
   */
  public function get() {
    return $this->value;
  }

  /**
   * @inheritDoc
   */
  public function isHit(): bool {
    // TODO: Implement isHit() method.
    return $this->isHit;
  }

  /**
   * @inheritDoc
   */
  public function set($value) {
    $this->value = $value;
    return $this;
  }

  /**
   * @inheritDoc
   */
  public function expiresAt($expiration) {
    return $this;
  }

  /**
   * @inheritDoc
   */
  public function expiresAfter($time) {
    return $this;
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit