Completed
Push — master ( 9b9020...8f5910 )
by Razon
02:07
created

TicketController::actions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace App\Http\Api\Backend\Controller;
3
4
use App\Model\Ticket;
5
6
class TicketController extends ActiveController
7
{
8
    public $modelClass = Ticket::class;
9
10
    public function actions()
11
    {
12
        $actions = parent::actions();
13
14
        return [
15
            'create' => $actions['create'],
16
            'options' => $actions['options'],
17
        ];
18
    }
19
}
20