Completed
Push — master ( b5e165...d1e129 )
by
unknown
05:52
created

Block::make()   A

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
namespace Carbon_Fields;
4
5
/**
6
 * Block proxy factory class.
7
 * Used for shorter namespace access when creating a block.
8
 */
9
class Block extends Container {
10
	/**
11
	 * {@inheritDoc}
12
	 */
13
	public static function make() {
14
		return call_user_func_array( array( 'parent', 'make' ), array_merge( array( 'block' ), func_get_args() ) );
15
	}
16
}
17