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\TypedData\Plugin\DataType; use Drupal\Core\StringTranslation..
Decoded Output download
<?php
namespace Drupal\Core\TypedData\Plugin\DataType;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\Attribute\DataType;
use Drupal\Core\TypedData\Type\StringInterface;
/**
* The Email data type.
*
* The plain value of Email is the email address represented as PHP string.
*/
#[DataType(
id: "email",
label: new TranslatableMarkup("Email"),
constraints: ["Email" => []],
)]
class Email extends StringData implements StringInterface {
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\TypedData\Plugin\DataType;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\TypedData\Attribute\DataType;
use Drupal\Core\TypedData\Type\StringInterface;
/**
* The Email data type.
*
* The plain value of Email is the email address represented as PHP string.
*/
#[DataType(
id: "email",
label: new TranslatableMarkup("Email"),
constraints: ["Email" => []],
)]
class Email extends StringData implements StringInterface {
}
Function Calls
None |
Stats
MD5 | 72df095f5c39b8a7f1959f6bb9230e6b |
Eval Count | 0 |
Decode Time | 83 ms |