1 | <?php |
||
17 | class Field extends AbstractField implements SecureFieldInterface, TypeSystemPluginReferenceInterface, CacheableEdgeInterface { |
||
18 | use TypeSystemPluginReferenceTrait; |
||
19 | use CacheableEdgeTrait; |
||
20 | |||
21 | /** |
||
22 | * Indicates if the field is considered secure. |
||
23 | * |
||
24 | * @var bool |
||
25 | */ |
||
26 | protected $secure; |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function __construct(TypeSystemPluginInterface $plugin, $secure, array $config = []) { |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function resolve($value, array $args, ResolveInfo $info) { |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getType() { |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function getName() { |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function isSecure() { |
||
68 | } |
||
69 |