Current File : /home/pacjaorg/public_html/2024/wp-content/plugins/bunyad-amp/src/Infrastructure/Delayed.php |
<?php
/**
* Interface Delayed.
*
* @package AmpProject\AmpWP
*/
namespace AmpProject\AmpWP\Infrastructure;
/**
* Something that is delayed to a later point in the execution flow.
*
* A class marked as being delayed can return the action at which it requires
* to be registered.
*
* This can be used to only register a given object after certain contextual
* requirements are met, like registering a frontend rendering service only
* after the loop has been set up.
*
* @since 2.0
* @internal
*/
interface Delayed {
/**
* Get the action to use for registering the service.
*
* @return string Registration action to use.
*/
public static function get_registration_action();
}