1 | <?php |
||
15 | class Kirki_CSS_To_File { |
||
16 | |||
17 | /** |
||
18 | * The config ID. |
||
19 | * |
||
20 | * @access private |
||
21 | * @since 3.0.0 |
||
22 | * @var string |
||
23 | */ |
||
24 | private $config_id = 'global'; |
||
|
|||
25 | |||
26 | /** |
||
27 | * Fallback to inline CSS? |
||
28 | * |
||
29 | * @access protected |
||
30 | * @since 3.0.0 |
||
31 | * @var bool |
||
32 | */ |
||
33 | protected $fallback = false; |
||
34 | |||
35 | /** |
||
36 | * Constructor. |
||
37 | * |
||
38 | * @access public |
||
39 | * @since 3.0.0 |
||
40 | */ |
||
41 | public function __construct() { |
||
51 | |||
52 | /** |
||
53 | * Gets the path of the CSS file and folder in the filesystem. |
||
54 | * |
||
55 | * @access protected |
||
56 | * @since 3.0.0 |
||
57 | * @param string $context Can be "file" or "folder". If empty, returns both as array. |
||
58 | * @return string|array |
||
59 | */ |
||
60 | protected function get_path( $context = '' ) { |
||
78 | |||
79 | /** |
||
80 | * Gets the URL of the CSS file in the filesystem. |
||
81 | * |
||
82 | * @access public |
||
83 | * @since 3.0.0 |
||
84 | * @return string |
||
85 | */ |
||
86 | public function get_url() { |
||
92 | |||
93 | /** |
||
94 | * Writes the file to disk. |
||
95 | * |
||
96 | * @access public |
||
97 | * @since 3.0.0 |
||
98 | * @return bool |
||
99 | */ |
||
100 | public function write_file() { |
||
136 | |||
137 | /** |
||
138 | * Gets the WP_Filesystem object. |
||
139 | * |
||
140 | * @access protected |
||
141 | * @since 3.0.0 |
||
142 | * @return object |
||
143 | */ |
||
144 | protected function get_filesystem() { |
||
156 | } |
||
157 |
This check marks private properties in classes that are never used. Those properties can be removed.