Passed
Push — develop ( aa4282...8b6a2b )
by Nikolay
05:16 queued 10s
created

PostController::callAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 * Copyright (C) MIKO LLC - All Rights Reserved
4
 * Unauthorized copying of this file, via any medium is strictly prohibited
5
 * Proprietary and confidential
6
 * Written by Nikolay Beketov, 4 2020
7
 *
8
 */
9
10
namespace MikoPBX\PBXCoreREST\Controllers\License;
11
12
use MikoPBX\PBXCoreREST\Controllers\BaseController;
13
14
/**
15
 *
16
 */
17
class PostController extends BaseController
18
{
19
    public function callAction($actionName): void
20
    {
21
        $data = $this->request->getPost();
22
        $this->sendRequestToBackendWorker('license', $actionName, $data);
23
    }
24
}