original_string: public function addReplacement( string $name, ?string $value ) : VfsHandler
     {
  
        if ( null === $value )
        {
  
           unset( $this->_replacements[ $name ] );
  
           return $this;
  
        }
  
        $this->_replacements[ $name ] = $value;
  
        return $this;
  
     }
code: public function addReplacement( string $name, ?string $value ) : VfsHandler
     {
  
        if ( null === $value )
        {
  
           unset( $this->_replacements[ $name ] );
  
           return $this;
  
        }
  
        $this->_replacements[ $name ] = $value;
  
        return $this;
  
     }
code_tokens: public function addReplacement ( string $ name , ? string $ value ) : VfsHandler { if ( null === $ value ) { unset ( $ this -> _replacements [ $ name ] ) ; return $ this ; } $ this -> _replacements [ $ name ] = $ value ; return $ this ; }
docstring: Add or set a replacement.
  
  It replaces a part of a path with format ${replacementName}
  
  @param  string      $name  The name of the replacement
  @param  string|null $value The replacement string value (or NULL to remove a replacement)
  @return \Niirrty\IO\Vfs\VfsHandler
docstring_tokens: Add or set a replacement .