Operations   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConstants() 0 5 1
1
<?php
2
namespace Zend\Firebase\Config;
3
4
/**
5
 *
6
 * Available type of operations
7
 *
8
 * @author Ventimiglia Samuel
9
 * @package Firebase
10
 *
11
 */
12
class Operations
13
{
14
15
    const GET = 'GET';
16
17
    const PUT = 'PUT';
18
19
    const POST = 'POST';
20
21
    const PATCH = 'PATCH';
22
23
    const DELETE = 'DELETE';
24
25
    /**
26
     * Return all constant of class
27
     */
28
    public static function getConstants()
29
    {
30
        $oClass = new \ReflectionClass(__CLASS__);
31
        return $oClass->getConstants();
32
    }
33
}
34