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\SankeyDiagram; /** * @auth..
Decoded Output download
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\SankeyDiagram;
/**
* @author Christophe Meneses
*/
class Sankey
{
/**
* With multilevel sankeys, it's sometimes nonobvious where nodes should be placed for optimal readability. The D3
* layout engine experiments with different node layouts, stopping when sankey.iterations attempts have been made.
* The larger this number, the more pleasing the layout of complex sankeys, but it comes with a cost: the sankeys
* will take longer to render. Conversely, the shorter this number, the quicker your charts will render.
*
* @var int
*/
protected $iterations;
/**
* @var Link
*/
protected $link;
/**
* @var Node
*/
protected $node;
public function __construct()
{
$this->link = new Link();
$this->node = new Node();
}
public function getLink(): Link
{
return $this->link;
}
public function getNode(): Node
{
return $this->node;
}
/**
* @return $this
*/
public function setIterations(int $iterations)
{
$this->iterations = $iterations;
return $this;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\SankeyDiagram;
/**
* @author Christophe Meneses
*/
class Sankey
{
/**
* With multilevel sankeys, it's sometimes nonobvious where nodes should be placed for optimal readability. The D3
* layout engine experiments with different node layouts, stopping when sankey.iterations attempts have been made.
* The larger this number, the more pleasing the layout of complex sankeys, but it comes with a cost: the sankeys
* will take longer to render. Conversely, the shorter this number, the quicker your charts will render.
*
* @var int
*/
protected $iterations;
/**
* @var Link
*/
protected $link;
/**
* @var Node
*/
protected $node;
public function __construct()
{
$this->link = new Link();
$this->node = new Node();
}
public function getLink(): Link
{
return $this->link;
}
public function getNode(): Node
{
return $this->node;
}
/**
* @return $this
*/
public function setIterations(int $iterations)
{
$this->iterations = $iterations;
return $this;
}
}
Function Calls
None |
Stats
MD5 | bd13a196f7f69d32a4b64d4ec24ec7e0 |
Eval Count | 0 |
Decode Time | 98 ms |