first commit
This commit is contained in:
20
wp-content/plugins/brizy/admin/rule-interface.php
Normal file
20
wp-content/plugins/brizy/admin/rule-interface.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
interface Brizy_Admin_RuleInterface {
|
||||
|
||||
/**
|
||||
* @param $applyFor
|
||||
* @param $entityType
|
||||
* @param $entityValues
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function isMatching( $applyFor, $entityType, $entityValues );
|
||||
|
||||
/**
|
||||
* @param $context
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getRuleWeight($context);
|
||||
}
|
||||
Reference in New Issue
Block a user