public function __construct(\Closure $parser) { parent::__construct(); parent::addChild($this->head = new TableRows(TableRows::TYPE_HEAD)); parent::addChild($this->body = new TableRows(TableRows::TYPE_BODY)); $this->parser = $parser; }
public function __construct($string = '', $type = self::TYPE_BODY, $align = null) { parent::__construct(); $this->finalStringContents = $string; $this->type = $type; $this->align = $align; }
/** * @param int $length * @param string $char * @param int $offset */ public function __construct($length, $char, $offset) { parent::__construct(); $this->length = $length; $this->char = $char; $this->offset = $offset; }
public function __construct(\Closure $parser) { parent::__construct(); $this->appendChild(new TableRows(TableRows::TYPE_HEAD)); $this->appendChild(new TableRows(TableRows::TYPE_BODY)); $this->parser = $parser; }
/** * @param int $level * @param string|string[] $contents */ public function __construct($level, $contents) { parent::__construct(); $this->level = $level; if (!is_array($contents)) { $contents = [$contents]; } foreach ($contents as $line) { $this->addLine($line); } }
public function __construct(ListData $listData) { parent::__construct(); $this->listData = $listData; }
public function __construct($type = self::TYPE_BODY) { parent::__construct(); $this->type = $type; }
/** * @param int $level * @param string $contents */ public function __construct($level, $contents) { parent::__construct(); $this->level = $level; $this->addLine($contents); }
public function __construct() { parent::__construct(); $this->setStartLine(1); $this->referenceMap = new ReferenceMap(); }
/** * @param int $type */ public function __construct($type) { parent::__construct(); $this->type = $type; }
public function __construct($caption, $id = null) { parent::__construct(); $this->finalStringContents = $caption; $this->id = $id; }
public function __construct($attributes) { parent::__construct(); $this->attributes = $attributes; }
public function __construct() { parent::__construct(); $this->inlines = new ArrayCollection(); }
public function __construct($attributes, $direction) { parent::__construct(); $this->attributes = $attributes; $this->direction = $direction; }