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 declare(strict_types=1); namespace Drupal\Core\Recipe; /** * Exception thrown wh..
Decoded Output download
<?php
declare(strict_types=1);
namespace Drupal\Core\Recipe;
/**
* Exception thrown when recipe is can not be found.
*
* @internal
* This API is experimental.
*/
final class UnknownRecipeException extends \RuntimeException {
/**
* @param string $recipe
* The recipe's name.
* @param string $searchPath
* The path searched for the recipe.
* @param string $message
* (optional) The exception message.
* @param int $code
* (optional) The exception code.
* @param \Throwable|null $previous
* (optional) The previous exception.
*/
public function __construct(public readonly string $recipe, public readonly string $searchPath, string $message = "", int $code = 0, ?\Throwable $previous = NULL) {
parent::__construct($message, $code, $previous);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Drupal\Core\Recipe;
/**
* Exception thrown when recipe is can not be found.
*
* @internal
* This API is experimental.
*/
final class UnknownRecipeException extends \RuntimeException {
/**
* @param string $recipe
* The recipe's name.
* @param string $searchPath
* The path searched for the recipe.
* @param string $message
* (optional) The exception message.
* @param int $code
* (optional) The exception code.
* @param \Throwable|null $previous
* (optional) The previous exception.
*/
public function __construct(public readonly string $recipe, public readonly string $searchPath, string $message = "", int $code = 0, ?\Throwable $previous = NULL) {
parent::__construct($message, $code, $previous);
}
}
Function Calls
None |
Stats
MD5 | 78a0551bff15cec5a283294bfcac7ca5 |
Eval Count | 0 |
Decode Time | 76 ms |