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))."'";
  }
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))."'";
  }
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 ) ) . "'" ; }
Adds magic constants to replace list.
Adds magic constants to replace list .