Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * This file is part of the Cloudinary PHP package. * * (c) Cloudinary * * F..
Decoded Output download
<?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\Configuration;
/**
* Trait TagConfigTrait
*
* @api
*/
trait TagConfigTrait
{
/**
* Image format of the video poster.
*
* @param string $format Image format.
*
* @return $this
*/
public function videoPosterFormat($format)
{
return $this->setTagConfig(TagConfig::VIDEO_POSTER_FORMAT, $format);
}
/**
* Use fetch format transformation ("f_") instead of file extension.
*
* @param bool $useFetchFormat
*
* @return $this
*/
public function useFetchFormat($useFetchFormat = true)
{
return $this->setTagConfig(TagConfig::USE_FETCH_FORMAT, $useFetchFormat);
}
/**
* Sets the Tag configuration key with the specified value.
*
* @param string $configKey The configuration key.
* @param mixed $configValue THe configuration value.
*
* @return $this
*
* @internal
*/
abstract public function setTagConfig($configKey, $configValue);
}
?>
Did this file decode correctly?
Original Code
<?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\Configuration;
/**
* Trait TagConfigTrait
*
* @api
*/
trait TagConfigTrait
{
/**
* Image format of the video poster.
*
* @param string $format Image format.
*
* @return $this
*/
public function videoPosterFormat($format)
{
return $this->setTagConfig(TagConfig::VIDEO_POSTER_FORMAT, $format);
}
/**
* Use fetch format transformation ("f_") instead of file extension.
*
* @param bool $useFetchFormat
*
* @return $this
*/
public function useFetchFormat($useFetchFormat = true)
{
return $this->setTagConfig(TagConfig::USE_FETCH_FORMAT, $useFetchFormat);
}
/**
* Sets the Tag configuration key with the specified value.
*
* @param string $configKey The configuration key.
* @param mixed $configValue THe configuration value.
*
* @return $this
*
* @internal
*/
abstract public function setTagConfig($configKey, $configValue);
}
Function Calls
None |
Stats
MD5 | e963f25e3e0c8f7c7805a9c83e7a76c3 |
Eval Count | 0 |
Decode Time | 105 ms |