public function __construct($value, $needle)
 {
     parent::__construct($value);
     $this->needle = $needle;
 }
Example #2
0
 public function __construct($value, $needle, $fromIndex = 0)
 {
     parent::__construct($value);
     $this->needle = $needle;
     $this->fromIndex = $fromIndex;
 }
Example #3
0
 public function __construct($value, $needles, $replacements)
 {
     parent::__construct($value);
     $this->needles = $needles;
     $this->replacements = $replacements;
 }