Completed
Push — 8.1.x ( fb062c...e20c53 )
by Antonio
06:58
created

RawDrupalContext::iWaitSeconds()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace NuvoleWeb\Drupal\DrupalExtension\Context;
4
5
use Drupal\DrupalExtension\Context\RawDrupalContext as OriginalRawDrupalContext;
6
7
/**
8
 * Class RawDrupalContext.
9
 *
10
 * @package NuvoleWeb\Drupal\DrupalExtension\Context
11
 */
12
class RawDrupalContext extends OriginalRawDrupalContext {
13
14
  /**
15
   * Get current Drupal core.
16
   *
17
   * @return \NuvoleWeb\Drupal\Driver\Cores\CoreInterface|\Drupal\Driver\Cores\CoreInterface
18
   *    Drupal core object instance.
19
   */
20
  public function getCore() {
21
    return $this->getDriver()->getCore();
22
  }
23
24
}
25