芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/cms.mgaplay.com.br/lib/Entity/Session.php
. */ namespace Xibo\Entity; use Xibo\Service\LogServiceInterface; use Xibo\Storage\StorageServiceInterface; /** * Class Session * @package Xibo\Entity */ class Session implements \JsonSerializable { use EntityTrait; public $sessionId; public $userId; public $userName; public $isExpired; public $lastAccessed; public $remoteAddress; public $userAgent; public $expiresAt; /** * Entity constructor. * @param StorageServiceInterface $store * @param LogServiceInterface $log * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher */ public function __construct($store, $log, $dispatcher) { $this->setCommonDependencies($store, $log, $dispatcher); } public function getId() { return $this->userId; } public function getOwnerId() { return 1; } }