Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * @package Grav\Events * * @copyright Copyright (c) 2015 - 2024 Trilby M..
Decoded Output download
<?php
/**
* @package Grav\Events
*
* @copyright Copyright (c) 2015 - 2024 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
namespace Grav\Events;
use Grav\Framework\Session\SessionInterface;
use Symfony\Contracts\EventDispatcher\Event;
/**
* Plugins Loaded Event
*
* This event is called from $grav['session']->start() right after successful session_start() call.
*
* @property SessionInterface $session Session instance.
*/
class SessionStartEvent extends Event
{
/** @var SessionInterface */
public $session;
public function __construct(SessionInterface $session)
{
$this->session = $session;
}
public function __debugInfo(): array
{
return (array)$this;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* @package Grav\Events
*
* @copyright Copyright (c) 2015 - 2024 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
namespace Grav\Events;
use Grav\Framework\Session\SessionInterface;
use Symfony\Contracts\EventDispatcher\Event;
/**
* Plugins Loaded Event
*
* This event is called from $grav['session']->start() right after successful session_start() call.
*
* @property SessionInterface $session Session instance.
*/
class SessionStartEvent extends Event
{
/** @var SessionInterface */
public $session;
public function __construct(SessionInterface $session)
{
$this->session = $session;
}
public function __debugInfo(): array
{
return (array)$this;
}
}
Function Calls
None |
Stats
MD5 | d67b94788489b1fa4d346234d5717b10 |
Eval Count | 0 |
Decode Time | 91 ms |