public function __construct($string = '', $type = self::TYPE_BODY, $align = null) { parent::__construct(); $this->finalStringContents = $string; $this->type = $type; $this->align = $align; }
public function __construct($content, $path) { parent::__construct(); //so relative links work $this->path = $path; //expecting that this line has a set of links to example code $this->addLine($content); }
/** * @param int $level * @param string $contents */ public function __construct($level, $contents) { parent::__construct(); $this->level = $level; $this->addLine($contents); }