* * @var string|null */ protected $rendered; /** * Constructor * * @param Chart $chart The chart to be rendered */ public function __construct(Chart $chart) { $this->image = new GraphImage($chart); } /** * Render the graph lazily * * @return string */ public function render() { if ($this->rendered === null) { $this->rendered = 'image->render()), 76)) . '">'; } return $this->rendered; } }