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 /** * Copyright Magento, Inc. All rights reserved. * See COPYING.txt for license ..
Decoded Output download
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Watermark position config source model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Model\Config\Source\Watermark;
class Position implements \Magento\Framework\Option\ArrayInterface
{
/**
* Get available options
*
* @codeCoverageIgnore
* @return array
*/
public function toOptionArray()
{
return [
['value' => 'stretch', 'label' => __('Stretch')],
['value' => 'tile', 'label' => __('Tile')],
['value' => 'top-left', 'label' => __('Top/Left')],
['value' => 'top-right', 'label' => __('Top/Right')],
['value' => 'bottom-left', 'label' => __('Bottom/Left')],
['value' => 'bottom-right', 'label' => __('Bottom/Right')],
['value' => 'center', 'label' => __('Center')]
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Watermark position config source model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Model\Config\Source\Watermark;
class Position implements \Magento\Framework\Option\ArrayInterface
{
/**
* Get available options
*
* @codeCoverageIgnore
* @return array
*/
public function toOptionArray()
{
return [
['value' => 'stretch', 'label' => __('Stretch')],
['value' => 'tile', 'label' => __('Tile')],
['value' => 'top-left', 'label' => __('Top/Left')],
['value' => 'top-right', 'label' => __('Top/Right')],
['value' => 'bottom-left', 'label' => __('Bottom/Left')],
['value' => 'bottom-right', 'label' => __('Bottom/Right')],
['value' => 'center', 'label' => __('Center')]
];
}
}
Function Calls
None |
Stats
MD5 | b12194e0df1597b339fc5c8644917721 |
Eval Count | 0 |
Decode Time | 103 ms |