Completed
Pull Request — 8.x-3.x (#442)
by Sebastian
02:30
created

TypeSystemPluginReferenceTrait::getPlugin()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Drupal\graphql\Plugin\GraphQL;
4
5
trait TypeSystemPluginReferenceTrait {
6
7
  /**
8
   * The associated field or type system plugin.
9
   *
10
   * @var \Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface
11
   */
12
  protected $plugin;
13
14
  /**
15
   * {@inheritdoc}
16
   */
17
  public function getPlugin() {
18
    return $this->plugin;
19
  }
20
21
}