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 namespace Drupal\Core\Http\Exception; use Drupal\Core\Cache\CacheableDependencyInt..
Decoded Output download
<?php
namespace Drupal\Core\Http\Exception;
use Drupal\Core\Cache\CacheableDependencyInterface;
use Drupal\Core\Cache\CacheableDependencyTrait;
use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException;
/**
* A cacheable ServiceUnavailableHttpException.
*/
class CacheableServiceUnavailableHttpException extends ServiceUnavailableHttpException implements CacheableDependencyInterface {
use CacheableDependencyTrait;
/**
* {@inheritdoc}
*/
public function __construct(CacheableDependencyInterface $cacheability, $retryAfter = NULL, $message = '', ?\Exception $previous = NULL, $code = 0) {
$this->setCacheability($cacheability);
parent::__construct($retryAfter, $message, $previous, $code);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\Http\Exception;
use Drupal\Core\Cache\CacheableDependencyInterface;
use Drupal\Core\Cache\CacheableDependencyTrait;
use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException;
/**
* A cacheable ServiceUnavailableHttpException.
*/
class CacheableServiceUnavailableHttpException extends ServiceUnavailableHttpException implements CacheableDependencyInterface {
use CacheableDependencyTrait;
/**
* {@inheritdoc}
*/
public function __construct(CacheableDependencyInterface $cacheability, $retryAfter = NULL, $message = '', ?\Exception $previous = NULL, $code = 0) {
$this->setCacheability($cacheability);
parent::__construct($retryAfter, $message, $previous, $code);
}
}
Function Calls
None |
Stats
MD5 | cbe87fc3cac907054f8e9cbf76c608a9 |
Eval Count | 0 |
Decode Time | 93 ms |