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 /** * RotateFilter class file. * @author Christoffer Niska <christoffer.niska@gmai..

Decoded Output download

<?php
/**
 * RotateFilter class file.
 * @author Christoffer Niska <[email protected]>
 * @copyright Copyright &copy; Christoffer Niska 2013-
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @package crisu83.yii-imagemanager.filters
 */

use Imagine\Filter\Basic\Rotate;
use Imagine\Filter\FilterInterface;
use Imagine\Image\Color;

/**
 * Loader for the Imagine rotate filter.
 */
class RotateFilter extends ImagineFilter
{
    /**
     * @var integer the rotate angle in degrees.
     */
    public $angle;
    /**
     * @var Color the background color.
     */
    public $background;

    /**
     * Loads the filter.
     * @return FilterInterface
     */
    public function load()
    {
        $color = $this->createColor($this->background);
        return new Rotate($this->angle, $color);
    }
} ?>

Did this file decode correctly?

Original Code

<?php
/**
 * RotateFilter class file.
 * @author Christoffer Niska <[email protected]>
 * @copyright Copyright &copy; Christoffer Niska 2013-
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @package crisu83.yii-imagemanager.filters
 */

use Imagine\Filter\Basic\Rotate;
use Imagine\Filter\FilterInterface;
use Imagine\Image\Color;

/**
 * Loader for the Imagine rotate filter.
 */
class RotateFilter extends ImagineFilter
{
    /**
     * @var integer the rotate angle in degrees.
     */
    public $angle;
    /**
     * @var Color the background color.
     */
    public $background;

    /**
     * Loads the filter.
     * @return FilterInterface
     */
    public function load()
    {
        $color = $this->createColor($this->background);
        return new Rotate($this->angle, $color);
    }
}

Function Calls

None

Variables

None

Stats

MD5 5e0468de086a9ffebaab40a3358ae1ea
Eval Count 0
Decode Time 117 ms