Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function toArray() |
||
29 | { |
||
30 | $result = []; |
||
31 | |||
32 | $result['og:video'] = $this->getUrl(); |
||
33 | $result['og:video:type'] = $this->getType(); |
||
34 | $result['og:video:secure_url'] = $this->getSecureUrl(); |
||
35 | $result['og:video:width'] = $this->getWidth(); |
||
36 | $result['og:video:height'] = $this->getHeight(); |
||
37 | |||
38 | return array_filter($result); |
||
39 | } |
||
40 | } |
||
41 |