File: /var/www/staging.fixgini.com/vendor/cloudinary/cloudinary_php/src/Asset/Video.php
<?php
/**
* This file is part of the Cloudinary PHP package.
*
* (c) Cloudinary
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cloudinary\Asset;
use Cloudinary\Transformation\VideoTransformation;
use Cloudinary\Transformation\VideoTransformationInterface;
use Cloudinary\Transformation\VideoTransformationTrait;
/**
* Class Video
*
* @api
*/
class Video extends BaseMediaAsset implements VideoTransformationInterface
{
use VideoTransformationTrait;
/**
* @var array A list of the delivery types that support SEO suffix.
*/
protected static $suffixSupportedDeliveryTypes = [
AssetType::VIDEO => [DeliveryType::UPLOAD => 'videos'],
];
/**
* Gets the transformation.
*
* @return VideoTransformation
*/
public function getTransformation()
{
if (! isset($this->transformation)) {
$this->transformation = new VideoTransformation();
}
return $this->transformation;
}
}