ApplicationGetter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A createApplication() 0 5 1
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Created by PhpStorm.
5
 * User: benedikt
6
 * Date: 1/25/18
7
 * Time: 3:27 PM
8
 */
9
10
namespace Tfboe\FmLib\Tests\Helpers;
11
12
/**
13
 * Trait ApplicationGetter
14
 * @package Tfboe\FmLib\Tests\Helpers
15
 */
16
trait ApplicationGetter
17
{
18
//<editor-fold desc="Public Methods">
19
  /**
20
   * Creates the application.
21
   *
22
   * @return \Laravel\Lumen\Application
23
   */
24
  public function createApplication()
25
  {
26
    /** @noinspection PhpIncludeInspection */ //this trait is only used in projects which include this package
27
    return require __DIR__ . '/../../bootstrap/app.php';
28
  }
29
//</editor-fold desc="Public Methods">
30
}