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