Console::getConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * @file Console.php
5
 * @brief This file contains the Console class.
6
 * @details
7
 * @author Filippo F. Fadda
8
 */
9
10
11
/**
12
 * @brief This namespace contains the Console class.
13
 */
14
namespace Facebook\ObjectDebugger;
15
16
17
use Symfony\Component\Console\Application;
18
19
20
/**
21
 * @brief This class extends the Application class of Symfony framework, with methods aim to set the Phalcon Dependency
22
 * Injector.
23
 */
24
class Console extends Application {
25
26
  /**
27
   * @var array $config
28
   */
29
  protected $config = [];
30
31
32
  /**
33
   * @brief Gets the configuration settings.
34
   * @return array
35
   */
36
  public function getConfig() {
37
    return $this->config;
38
  }
39
40
41
  /**
42
   * @brief Provides the configuration settings to the console.
43
   * @param array $config An array with the configuration settings.
44
   */
45
  public function setConfig(array $config) {
46
    $this->config = $config;
47
  }
48
49
}