Completed
Push — development ( 616ff4...ce498d )
by
unknown
15s queued 10s
created

SelfieVideo   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A toArray() 0 9 1
1
<?php
2
3
namespace WeDevBr\Mati\Inputs;
4
5
/**
6
 * Wrapper for identity input
7
 *
8
 * @author Gabriel Mineiro <[email protected]>
9
 */
10
class SelfieVideo extends BaseInput
11
{
12
    public function toArray()
13
    {
14
        return [
15
            'inputType' => 'selfie-video',
16
            'data' => [
17
                'filename' => $this->getFileName()
18
            ]
19
        ];
20
    }
21
}
22