/** * MarkerFramePicker constructor. * * @param null|string $startMarker Start marker * @param string $endMarker End marker * @param bool $isCaseSensitive True, if case is important */ public function __construct($startMarker, $endMarker, $isCaseSensitive = true) { parent::__construct(); $this->startMarker = $startMarker; $this->endMarker = $endMarker; $this->isCaseSensitive = $isCaseSensitive; }
/** * FixedLengthFramePicker constructor. * * @param int $length Length of data for this framePicker */ public function __construct($length) { parent::__construct(); $this->length = (int) $length; }