for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Kerox\Messenger\Model\Message\Attachment;
use Kerox\Messenger\Model\Message\Attachment;
class Video extends File
{
/**
* Video constructor.
*
* @param string $url
* @param bool|null $reusable
* @throws \InvalidArgumentException
*/
public function __construct(string $url, ?bool $reusable = null)
parent::__construct($url, $reusable, Attachment::TYPE_VIDEO);
}
* @return \Kerox\Messenger\Model\Message\Attachment\File
public static function create($url, ?bool $reusable = null): File
return new self($url, $reusable);