Ejemplo n.º 1
0
 public function __construct($value, $needle)
 {
     parent::__construct($value);
     $this->needle = $needle;
 }
Ejemplo n.º 2
0
 public function __construct($value, $needle, $fromIndex = 0)
 {
     parent::__construct($value);
     $this->needle = $needle;
     $this->fromIndex = $fromIndex;
 }
Ejemplo n.º 3
0
 public function __construct($value, $needles, $replacements)
 {
     parent::__construct($value);
     $this->needles = $needles;
     $this->replacements = $replacements;
 }