original_string: private function setMagicConstants(): void
    {
      $real_path = realpath($this->sourceFilename);
  
      $this->replace['__FILE__']    = "'".MetaDataLayer::realEscapeString($real_path)."'";
      $this->replace['__ROUTINE__'] = "'".$this->routineName."'";
      $this->replace['__DIR__']     = "'".MetaDataLayer::realEscapeString(dirname($real_path))."'";
    }
code: private function setMagicConstants(): void
    {
      $real_path = realpath($this->sourceFilename);
  
      $this->replace['__FILE__']    = "'".MetaDataLayer::realEscapeString($real_path)."'";
      $this->replace['__ROUTINE__'] = "'".$this->routineName."'";
      $this->replace['__DIR__']     = "'".MetaDataLayer::realEscapeString(dirname($real_path))."'";
    }
code_tokens: private function setMagicConstants ( ) : void { $ real_path = realpath ( $ this -> sourceFilename ) ; $ this -> replace [ '__FILE__' ] = "'" . MetaDataLayer :: realEscapeString ( $ real_path ) . "'" ; $ this -> replace [ '__ROUTINE__' ] = "'" . $ this -> routineName . "'" ; $ this -> replace [ '__DIR__' ] = "'" . MetaDataLayer :: realEscapeString ( dirname ( $ real_path ) ) . "'" ; }
docstring: Adds magic constants to replace list.
docstring_tokens: Adds magic constants to replace list .