/** * Sets class name and original code for this replacer (immutable). * @param string $code * @param string $className */ public function __construct($code, $className) { $this->className = $className; parent::__construct($code); }