| 1 | <?php |
||
| 21 | class Base { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $required_permission |
||
| 25 | * @param $attempted_calculation |
||
| 26 | * @throws \EventEspresso\core\libraries\rest_api\Rest_Exception |
||
| 27 | */ |
||
| 28 | protected static function _verify_current_user_can( $required_permission, $attempted_calculation ) { |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Gets the name of the resource of the called class |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public static function get_resource_name() { |
||
| 50 | } |
||
| 51 |