src/SettingsProcessor.php
private function getContent($settings_file) {
    $content = file_get_contents($settings_file);
    $regex = "/^" . preg_quote(self::BLOCK_START, '/') . ".*?" . preg_quote(self::BLOCK_END, '/') . "/sm";
    return preg_replace($regex, '', $content);
  }
private function getContent($settings_file) {
    $content = file_get_contents($settings_file);
    $regex = "/^" . preg_quote(self::BLOCK_START, '/') . ".*?" . preg_quote(self::BLOCK_END, '/') . "/sm";
    return preg_replace($regex, '', $content);
  }
private function getContent ( $ settings_file ) { $ content = file_get_contents ( $ settings_file ) ; $ regex = "/^" . preg_quote ( self :: BLOCK_START , '/' ) . ".*?" . preg_quote ( self :: BLOCK_END , '/' ) . "/sm" ; return preg_replace ( $ regex , '' , $ content ) ; }
Get settings file content.

@param string $settings_file
Full path to settings file to be processed, including its name.

@return string
File content without setting block.
Get settings file content .