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\Queue; /** * Delayable queue interface. * * Classes imple..
Decoded Output download
<?php
namespace Drupal\Core\Queue;
/**
* Delayable queue interface.
*
* Classes implementing this interface allow an item to be released on a delay.
*
* @ingroup queue
*/
interface DelayableQueueInterface extends QueueInterface {
/**
* Delay an item so it runs in the future.
*
* @param object $item
* The item returned by \Drupal\Core\Queue\QueueInterface::claimItem().
* @param int $delay
* A delay before the item's lock should expire (in seconds). Relative to
* the current time, not the item's current expiry.
*
* @throws \InvalidArgumentException
* When a negative $delay is provided; $delay must be non-negative.
*
* @see \Drupal\Core\Queue\QueueInterface::releaseItem()
* To immediately release an item without delay.
*
* @return bool
* TRUE if the item has been updated, FALSE otherwise.
*/
public function delayItem($item, int $delay);
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\Queue;
/**
* Delayable queue interface.
*
* Classes implementing this interface allow an item to be released on a delay.
*
* @ingroup queue
*/
interface DelayableQueueInterface extends QueueInterface {
/**
* Delay an item so it runs in the future.
*
* @param object $item
* The item returned by \Drupal\Core\Queue\QueueInterface::claimItem().
* @param int $delay
* A delay before the item's lock should expire (in seconds). Relative to
* the current time, not the item's current expiry.
*
* @throws \InvalidArgumentException
* When a negative $delay is provided; $delay must be non-negative.
*
* @see \Drupal\Core\Queue\QueueInterface::releaseItem()
* To immediately release an item without delay.
*
* @return bool
* TRUE if the item has been updated, FALSE otherwise.
*/
public function delayItem($item, int $delay);
}
Function Calls
None |
Stats
MD5 | 526e95280e652bc4fdf35dd1eb7364a2 |
Eval Count | 0 |
Decode Time | 87 ms |