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\Common\Page * * @copyright Copyright (c) 2015 - 2024 Tri..
Decoded Output download
<?php
/**
* @package Grav\Common\Page
*
* @copyright Copyright (c) 2015 - 2024 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
namespace Grav\Common\Page\Interfaces;
/**
* Interface PagesSourceInterface
* @package Grav\Common\Page\Interfaces
*/
interface PagesSourceInterface // extends \Iterator
{
/**
* Get timestamp for the page source.
*
* @return int
*/
public function getTimestamp(): int;
/**
* Get checksum for the page source.
*
* @return string
*/
public function getChecksum(): string;
/**
* Returns true if the source contains a page for the given route.
*
* @param string $route
* @return bool
*/
public function has(string $route): bool;
/**
* Get the page for the given route.
*
* @param string $route
* @return PageInterface|null
*/
public function get(string $route): ?PageInterface;
/**
* Get the children for the given route.
*
* @param string $route
* @param array|null $options
* @return array
*/
public function getChildren(string $route, array $options = null): array;
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* @package Grav\Common\Page
*
* @copyright Copyright (c) 2015 - 2024 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
namespace Grav\Common\Page\Interfaces;
/**
* Interface PagesSourceInterface
* @package Grav\Common\Page\Interfaces
*/
interface PagesSourceInterface // extends \Iterator
{
/**
* Get timestamp for the page source.
*
* @return int
*/
public function getTimestamp(): int;
/**
* Get checksum for the page source.
*
* @return string
*/
public function getChecksum(): string;
/**
* Returns true if the source contains a page for the given route.
*
* @param string $route
* @return bool
*/
public function has(string $route): bool;
/**
* Get the page for the given route.
*
* @param string $route
* @return PageInterface|null
*/
public function get(string $route): ?PageInterface;
/**
* Get the children for the given route.
*
* @param string $route
* @param array|null $options
* @return array
*/
public function getChildren(string $route, array $options = null): array;
}
Function Calls
None |
Stats
MD5 | 9ce6c6b8b51c4dc9366fbe2c349ea34d |
Eval Count | 0 |
Decode Time | 114 ms |