/var/www/html_uk/wp-content/plugins/automatewoo/includes/Rest_Api/Schema/Context.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

namespace AutomateWoo\Rest_Api\Schema;

/**
 * Context interface.
 *
 * Provides constants for REST API contexts.
 *
 * @since 4.9.0
 *
 * @package AutomateWoo\Rest_Api\Schema
 */
interface Context {

    const 
VIEW      'view';
    const 
EDIT      'edit';
    const 
ALL       = [ self::VIEWself::EDIT ];
    const 
VIEW_ONLY = [ self::VIEW ];
    const 
EDIT_ONLY = [ self::EDIT ];
}