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\Type; use Drupal\Core\Datetime\DrupalDateTime; /*..
Decoded Output download
<?php
namespace Drupal\Core\TypedData\Type;
use Drupal\Core\Datetime\DrupalDateTime;
/**
* Interface for dates, optionally including a time.
*
* @ingroup typed_data
*/
interface DateTimeInterface {
/**
* Returns the date time object.
*
* @return \Drupal\Core\Datetime\DrupalDateTime|null
* A date object or NULL if there is no date.
*/
public function getDateTime();
/**
* Sets the date time object.
*
* @param \Drupal\Core\Datetime\DrupalDateTime $dateTime
* An instance of a date time object.
*/
public function setDateTime(DrupalDateTime $dateTime);
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\TypedData\Type;
use Drupal\Core\Datetime\DrupalDateTime;
/**
* Interface for dates, optionally including a time.
*
* @ingroup typed_data
*/
interface DateTimeInterface {
/**
* Returns the date time object.
*
* @return \Drupal\Core\Datetime\DrupalDateTime|null
* A date object or NULL if there is no date.
*/
public function getDateTime();
/**
* Sets the date time object.
*
* @param \Drupal\Core\Datetime\DrupalDateTime $dateTime
* An instance of a date time object.
*/
public function setDateTime(DrupalDateTime $dateTime);
}
Function Calls
None |
Stats
MD5 | 3d4dce81efa58e51c0d97ff1e9a56cb8 |
Eval Count | 0 |
Decode Time | 64 ms |