Completed
Push — master ( eef885...465d0c )
by
unknown
30:08 queued 12:49
created

Attachment_Class   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A construct() 0 1 1
1
<?php
2
/**
3
 * Gestion des attachements (POST, PUT, GET, DELETE)
4
 *
5
 * @author Jimmy Latour <[email protected]>
6
 * @since 1.0.0.0
7
 * @version 1.3.0.0
8
 * @copyright 2015-2017
9
 * @package wpeo_model
10
 * @subpackage class
11
 *
12
 * @todo: Ne peut pas marcher... A voir
13
 */
14
15
namespace eoxia;
16
17
if ( ! defined( 'ABSPATH' ) ) { exit; }
18
19
if ( ! class_exists( '\eoxia\Attachment_Class' ) ) {
20
21
	/**
22
	 * Gestion des attachements (POST, PUT, GET, DELETE)
23
	 */
24
	class Attachment_Class extends Singleton_Util {
25
		protected $model_name = 'post_model';
26
		protected $post_type = 'attachment';
27
		protected $meta_key = '_wpeo_attachment';
28
		protected $version = '0.1.0.0';
29
30
		protected function construct() {}
31
	}
32
}
33