16 protected $strs = array();
19 * Adds a chunk to the stack
21 * @param string $chunk The chunk to output
22 * @param Less_FileInfo $fileInfo The file information
23 * @param integer $index The index
24 * @param mixed $mapLines
26 public function add($chunk, $fileInfo = null, $index = 0, $mapLines = null){
27 $this->strs
[] = $chunk;
31 * Is the output empty?
35 public function isEmpty(){
36 return count($this->strs
) === 0;
41 * Converts the output to string
45 public function toString(){
46 return implode('',$this->strs
);