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 namespace CMEN\GoogleChartsBundle\GoogleCharts\Charts; use CMEN\GoogleChartsBundle..
Decoded Output download
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Charts;
use CMEN\GoogleChartsBundle\GoogleCharts\Chart;
use CMEN\GoogleChartsBundle\GoogleCharts\EventType;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\ChartOptionsInterface;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\Histogram\HistogramOptions;
/**
* @author Christophe Meneses
*/
class Histogram extends Chart
{
/**
* @var HistogramOptions
*/
protected ChartOptionsInterface $options;
public function __construct()
{
parent::__construct();
$this->options = new HistogramOptions();
}
public function getType(): string
{
return 'Histogram';
}
public function getPackage(): string
{
return 'corechart';
}
public function getAvailableEventTypes(): array
{
return [
EventType::ANIMATION_FINISH,
EventType::CLICK,
EventType::ERROR,
EventType::ON_MOUSE_OUT,
EventType::ON_MOUSE_OVER,
EventType::READY,
EventType::SELECT,
];
}
public function getOptions(): HistogramOptions
{
return $this->options;
}
/**
* @param HistogramOptions $options
*/
public function setOptions(ChartOptionsInterface $options): Histogram
{
$this->options = $options;
return $this;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Charts;
use CMEN\GoogleChartsBundle\GoogleCharts\Chart;
use CMEN\GoogleChartsBundle\GoogleCharts\EventType;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\ChartOptionsInterface;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\Histogram\HistogramOptions;
/**
* @author Christophe Meneses
*/
class Histogram extends Chart
{
/**
* @var HistogramOptions
*/
protected ChartOptionsInterface $options;
public function __construct()
{
parent::__construct();
$this->options = new HistogramOptions();
}
public function getType(): string
{
return 'Histogram';
}
public function getPackage(): string
{
return 'corechart';
}
public function getAvailableEventTypes(): array
{
return [
EventType::ANIMATION_FINISH,
EventType::CLICK,
EventType::ERROR,
EventType::ON_MOUSE_OUT,
EventType::ON_MOUSE_OVER,
EventType::READY,
EventType::SELECT,
];
}
public function getOptions(): HistogramOptions
{
return $this->options;
}
/**
* @param HistogramOptions $options
*/
public function setOptions(ChartOptionsInterface $options): Histogram
{
$this->options = $options;
return $this;
}
}
Function Calls
None |
Stats
MD5 | c299d546d6bb6099309fcffe1b92d648 |
Eval Count | 0 |
Decode Time | 125 ms |