Example #1
0
 /**
  * @param string $line
  */
 public function addLine($line)
 {
     if (!$this->acceptsLines()) {
         throw new \LogicException('You cannot add lines to a block which cannot accept them');
     }
     $this->strings->add($line);
 }