Passed
Push — master ( 2d893f...5de32f )
by Atanas
02:41
created

Application   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
c 0
b 0
f 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 2 1
1
<?php
2
/**
3
 * @package   WPEmerge
4
 * @author    Atanas Angelov <[email protected]>
5
 * @copyright 2018 Atanas Angelov
6
 * @license   https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0
7
 * @link      https://wpemerge.com/
8
 */
9
10
namespace WPEmerge\Facades;
11
12
use WPEmerge\Support\Facade;
13
14
/**
15
 * Provide access to the application instance.
16
 *
17
 * @codeCoverageIgnore
18
 * @see \WPEmerge\Application\Application
19
 *
20
 * @method static boolean debugging()
21
 * @method static boolean isBootstrapped()
22
 * @method static \Pimple\Container getContainer()
23
 * @method static void bootstrap( array $config = [], boolean $run = true )
24
 * @method static void alias( string $alias, string $facade_class )
25
 * @method static mixed|null resolve( string $key )
26
 * @method static object instantiate( string $class )
27
 * @method static void routes( string $web = '', string $admin = '', string $ajax = '' )
28
 */
29
class Application extends Facade {
30
	protected static function getFacadeAccessor() {
31
		return WPEMERGE_APPLICATION_KEY;
32
	}
33
}
34