public function __construct($text = '') { $this->setPath(__DIR__ . '/../assets/data'); $this->setImagePath(__DIR__ . '/../assets/image'); $this->setLabelFontPath(__DIR__ . '/../assets/font/opensans.ttf'); $this->setText($text); }