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\ScatterChart\ScatterChartOptions;
/**
* @author Christophe Meneses
*/
class ScatterChart extends Chart
{
/**
* @var ScatterChartOptions
*/
protected ChartOptionsInterface $options;
public function __construct()
{
parent::__construct();
$this->options = new ScatterChartOptions();
}
public function getType(): string
{
return 'ScatterChart';
}
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(): ScatterChartOptions
{
return $this->options;
}
/**
* @param ScatterChartOptions $options
*/
public function setOptions(ChartOptionsInterface $options): ScatterChart
{
$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\ScatterChart\ScatterChartOptions;
/**
* @author Christophe Meneses
*/
class ScatterChart extends Chart
{
/**
* @var ScatterChartOptions
*/
protected ChartOptionsInterface $options;
public function __construct()
{
parent::__construct();
$this->options = new ScatterChartOptions();
}
public function getType(): string
{
return 'ScatterChart';
}
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(): ScatterChartOptions
{
return $this->options;
}
/**
* @param ScatterChartOptions $options
*/
public function setOptions(ChartOptionsInterface $options): ScatterChart
{
$this->options = $options;
return $this;
}
}
Function Calls
None |
Stats
MD5 | e9a1ad925b41b76c8fff78f627f96d68 |
Eval Count | 0 |
Decode Time | 99 ms |