Decoded Output
Download<?php
/**
* This file is part of Jdenticon for PHP.
* https://github.com/dmester/jdenticon-php/
*
* Copyright (c) 2018 Daniel Mester Pirttijrvi
*
* For full license information, please see the LICENSE file that was
* distributed with this source code.
*/
namespace Jdenticon\Shapes;
/**
* Represents a shape to be rendered in an icon. These instances are
* hash specific.
*/
class Shape
{
/**
* The shape definition to be used to render the shape.
*
* @var function(
* \Jdenticon\Rendering\RendererInterface $renderer,
* \Jdenticon\Shapes\ShapePosition $cell,
* int $index)
*/
public $definition;
/**
* The fill color of the shape.
*
* @var Jdenticon\Color
*/
public $color;
/**
* The positions in which the shape will be rendered.
*
* @var array(\Jdenticon\Shapes\ShapePosition)
*/
public $positions;
/**
* The rotation index of the icon in the first position.
*
* @var int
*/
public $startRotationIndex;
public function __construct(
$definition,
\Jdenticon\Color $color,
array $positions,
$startRotationIndex)
{
$this->definition = $definition;
$this->color = $color;
$this->positions = $positions;
$this->startRotationIndex = $startRotationIndex;
}
}
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 8b559603c4eed288 |
|---|---|
| Eval Count | 0 |
| Decode Time | 135 ms |
Original Code
<?php
/**
* This file is part of Jdenticon for PHP.
* https://github.com/dmester/jdenticon-php/
*
* Copyright (c) 2018 Daniel Mester Pirttijrvi
*
* For full license information, please see the LICENSE file that was
* distributed with this source code.
*/
namespace Jdenticon\Shapes;
/**
* Represents a shape to be rendered in an icon. These instances are
* hash specific.
*/
class Shape
{
/**
* The shape definition to be used to render the shape.
*
* @var function(
* \Jdenticon\Rendering\RendererInterface $renderer,
* \Jdenticon\Shapes\ShapePosition $cell,
* int $index)
*/
public $definition;
/**
* The fill color of the shape.
*
* @var Jdenticon\Color
*/
public $color;
/**
* The positions in which the shape will be rendered.
*
* @var array(\Jdenticon\Shapes\ShapePosition)
*/
public $positions;
/**
* The rotation index of the icon in the first position.
*
* @var int
*/
public $startRotationIndex;
public function __construct(
$definition,
\Jdenticon\Color $color,
array $positions,
$startRotationIndex)
{
$this->definition = $definition;
$this->color = $color;
$this->positions = $positions;
$this->startRotationIndex = $startRotationIndex;
}
}