1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?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(); }
|