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\Options\OrgChart; use CMEN\GoogleCh..
Decoded Output download
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\OrgChart;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\AllowHtmlTrait;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\ChartOptionsInterface;
/**
* @author Christophe Meneses
*/
class OrgChartOptions implements ChartOptionsInterface
{
use AllowHtmlTrait;
/**
* Determines if double click will collapse a node.
*
* @var bool
*/
protected $allowCollapse;
/**
* A class name to assign to node elements. Apply CSS to this class name to specify colors or styles for the chart
* elements.
*
* @var string
*/
protected $nodeClass;
/**
* A class name to assign to selected node elements. Apply CSS to this class name to specify colors or styles for
* selected chart elements.
*
* @var string
*/
protected $selectedNodeClass;
/**
* 'small', 'medium' or 'large'.
*
* @var string
*/
protected $size;
/**
* @return $this
*/
public function setAllowCollapse(bool $allowCollapse)
{
$this->allowCollapse = $allowCollapse;
return $this;
}
/**
* @return $this
*/
public function setNodeClass(string $nodeClass)
{
$this->nodeClass = $nodeClass;
return $this;
}
/**
* @return $this
*/
public function setSelectedNodeClass(string $selectedNodeClass)
{
$this->selectedNodeClass = $selectedNodeClass;
return $this;
}
/**
* @return $this
*/
public function setSize(string $size)
{
$this->size = $size;
return $this;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\OrgChart;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\AllowHtmlTrait;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\ChartOptionsInterface;
/**
* @author Christophe Meneses
*/
class OrgChartOptions implements ChartOptionsInterface
{
use AllowHtmlTrait;
/**
* Determines if double click will collapse a node.
*
* @var bool
*/
protected $allowCollapse;
/**
* A class name to assign to node elements. Apply CSS to this class name to specify colors or styles for the chart
* elements.
*
* @var string
*/
protected $nodeClass;
/**
* A class name to assign to selected node elements. Apply CSS to this class name to specify colors or styles for
* selected chart elements.
*
* @var string
*/
protected $selectedNodeClass;
/**
* 'small', 'medium' or 'large'.
*
* @var string
*/
protected $size;
/**
* @return $this
*/
public function setAllowCollapse(bool $allowCollapse)
{
$this->allowCollapse = $allowCollapse;
return $this;
}
/**
* @return $this
*/
public function setNodeClass(string $nodeClass)
{
$this->nodeClass = $nodeClass;
return $this;
}
/**
* @return $this
*/
public function setSelectedNodeClass(string $selectedNodeClass)
{
$this->selectedNodeClass = $selectedNodeClass;
return $this;
}
/**
* @return $this
*/
public function setSize(string $size)
{
$this->size = $size;
return $this;
}
}
Function Calls
None |
Stats
MD5 | 175667cee4ca16f04a492a6c4c8477c4 |
Eval Count | 0 |
Decode Time | 96 ms |