Completed
Pull Request — master (#1454)
by Aristeides
07:51 queued 05:08
created

Kirki_Field_Property   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 27
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A get_property() 0 1 1
1
<?php
2
/**
3
 * This class can be extended on a per-property basis.
4
 *
5
 * @package     Kirki
6
 * @category    Core
7
 * @author      Aristeides Stathopoulos
8
 * @copyright   Copyright (c) 2017, Aristeides Stathopoulos
9
 * @license     http://opensource.org/licenses/https://opensource.org/licenses/MIT
10
 * @since       1.0
11
 */
12
13
/**
14
 * Please do not use this class directly.
15
 * You should instead extend it per-field-property.
16
 */
17
class Kirki_Field_Property {
18
19
	/**
20
	 * An array of the field arguments.
21
	 *
22
	 * @access protected
23
	 * @var array
24
	 */
25
	protected $args = array();
26
27
	/**
28
	 * The class constructor.
29
	 *
30
	 * @access public
31
	 * @param array $args The arguments of the field.
32
	 */
33
	public function __construct( $args ) {
34
		$this->args = $args;
35
	}
36
37
	/**
38
	 * Gets the property.
39
	 *
40
	 * @access public
41
	 */
42
	public function get_property() {}
43
}
44