Completed
Pull Request — 3.2 (#289)
by
unknown
10:16
created

BeforeLanguageCreateScope   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
3
/**
4
 * @file
5
 * Contains \Drupal\DrupalExtension\Hook\Scope\BeforeLanguageCreateScope.
6
 */
7
namespace Drupal\DrupalExtension\Hook\Scope;
8
9
/**
10
 * Represents a language hook scope.
11
 */
12
final class BeforeLanguageCreateScope extends LanguageScope {
13
14
  /**
15
   * Returns the scope name.
16
   *
17
   * @return string
18
   */
19
  public function getName() {
20
    return self::BEFORE;
21
  }
22
23
}
24