Subir proyecto
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Rocket\Engine\Common\Context;
|
||||
|
||||
interface ContextInterface {
|
||||
|
||||
/**
|
||||
* Determine if the action is allowed.
|
||||
*
|
||||
* @param array $data Data to pass to the context.
|
||||
* @return bool
|
||||
*/
|
||||
public function is_allowed( array $data = [] ): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user