Completed
Push — master ( 3347ae...8ec7fe )
by Romain
9s
created

Video   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace Kerox\Messenger\Model\Message\Attachment;
3
4
use Kerox\Messenger\Model\Message\Attachment;
5
6
class Video extends File
7
{
8
9
    /**
10
     * Video constructor.
11
     *
12
     * @param string $url
13
     * @param bool|null $reusable
14
     */
15
    public function __construct(string $url, bool $reusable = null)
16
    {
17
        parent::__construct($url, $reusable, Attachment::TYPE_VIDEO);
18
    }
19
}
20