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\GeoChart\GeoChartOptions;
/**
* @author Christophe Meneses
*/
class GeoChart extends Chart
{
/**
* @var GeoChartOptions
*/
protected ChartOptionsInterface $options;
public function __construct()
{
parent::__construct();
$this->options = new GeoChartOptions();
}
public function getType(): string
{
return 'GeoChart';
}
public function getPackage(): string
{
return 'geochart';
}
public function getAvailableEventTypes(): array
{
return [
EventType::ERROR,
EventType::READY,
EventType::REGION_CLICK,
EventType::SELECT,
];
}
public function getOptions(): GeoChartOptions
{
return $this->options;
}
/**
* @param GeoChartOptions $options
*/
public function setOptions(ChartOptionsInterface $options): GeoChart
{
$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\GeoChart\GeoChartOptions;
/**
* @author Christophe Meneses
*/
class GeoChart extends Chart
{
/**
* @var GeoChartOptions
*/
protected ChartOptionsInterface $options;
public function __construct()
{
parent::__construct();
$this->options = new GeoChartOptions();
}
public function getType(): string
{
return 'GeoChart';
}
public function getPackage(): string
{
return 'geochart';
}
public function getAvailableEventTypes(): array
{
return [
EventType::ERROR,
EventType::READY,
EventType::REGION_CLICK,
EventType::SELECT,
];
}
public function getOptions(): GeoChartOptions
{
return $this->options;
}
/**
* @param GeoChartOptions $options
*/
public function setOptions(ChartOptionsInterface $options): GeoChart
{
$this->options = $options;
return $this;
}
}
Function Calls
None |
Stats
MD5 | b9517b574a4d5ad7849117692b6e4cef |
Eval Count | 0 |
Decode Time | 100 ms |