__construct() public method

Constructor
public __construct ( )
 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;
 }
Exemplo n.º 3
0
 /**
  * @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;
 }
Exemplo n.º 4
0
 public function __construct(\Closure $parser)
 {
     parent::__construct();
     $this->appendChild(new TableRows(TableRows::TYPE_HEAD));
     $this->appendChild(new TableRows(TableRows::TYPE_BODY));
     $this->parser = $parser;
 }
Exemplo n.º 5
0
 /**
  * @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);
     }
 }
Exemplo n.º 6
0
 public function __construct(ListData $listData)
 {
     parent::__construct();
     $this->listData = $listData;
 }
 public function __construct($type = self::TYPE_BODY)
 {
     parent::__construct();
     $this->type = $type;
 }
Exemplo n.º 8
0
 /**
  * @param int    $level
  * @param string $contents
  */
 public function __construct($level, $contents)
 {
     parent::__construct();
     $this->level = $level;
     $this->addLine($contents);
 }
Exemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     $this->setStartLine(1);
     $this->referenceMap = new ReferenceMap();
 }
Exemplo n.º 10
0
 /**
  * @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;
 }
Exemplo n.º 13
0
 public function __construct()
 {
     parent::__construct();
     $this->inlines = new ArrayCollection();
 }
 public function __construct($attributes, $direction)
 {
     parent::__construct();
     $this->attributes = $attributes;
     $this->direction = $direction;
 }