CrudDescribeAction   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 15
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 4 1
1
<?php
2
/**
3
 * Copyright 2016 - 2018, Cake Development Corporation (http://cakedc.com)
4
 *
5
 * Licensed under The MIT License
6
 * Redistributions of files must retain the above copyright notice.
7
 *
8
 * @copyright Copyright 2016 - 2018, Cake Development Corporation (http://cakedc.com)
9
 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
10
 */
11
12
namespace CakeDC\Api\Service\Action;
13
14
/**
15
 * Class CrudDescribeAction
16
 *
17
 * @package CakeDC\Api\Service\Action
18
 */
19
class CrudDescribeAction extends CrudAction
20
{
21
22
    public $extensions = [];
23
24
    /**
25
     * Execute action.
26
     *
27
     * @return mixed
28
     */
29 1
    public function execute()
30
    {
31 1
        return $this->_describe();
32
    }
33
}
34