strs[] = $chunk; } /** * Is the output empty? * * @return boolean */ public function isEmpty(){ return count($this->strs) === 0; } /** * Converts the output to string * * @return string */ public function toString(){ return implode('',$this->strs); } }