![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/www/wp-content/plugins/wp-rocket/inc/Engine/Preload/Database/Rows/ |
<?php namespace WP_Rocket\Engine\Preload\Database\Rows; use WP_Rocket\Dependencies\Database\Row; class CacheRow extends Row { /** * Row ID * * @var int */ public $id; /** * URL * * @var string */ public $url; /** * Status * * @var string */ public $status; /** * Last modified time * * @var int */ public $modified; /** * Last accessed time * * @var int */ public $last_accessed; /** * Is row locked * * @var bool */ public $is_locked; /** * Unused variable * * @var bool */ public $is_mobile; /** * CacheRow constructor. * * @param object $item Current row details. */ public function __construct( $item ) { parent::__construct( $item ); $this->id = (int) $this->id; $this->url = (string) $this->url; $this->status = (string) $this->status; $this->modified = empty( $this->modified ) ? 0 : strtotime( $this->modified ); $this->last_accessed = empty( $this->last_accessed ) ? 0 : strtotime( $this->last_accessed ); $this->is_locked = (bool) $this->is_locked; } }