private function addTextIntoMountPoint($mountpoint, $textToAdd) { passthru('sed -i \'s/.*' . $mountpoint . '.*/ \\ \\ \\ \\ \\ \\ \\ ' . $this->scapeSingleQuotes(preg_quote($textToAdd)) . ',\\n \\ \\ \\ \\ \\ \\ \\ ' . $mountpoint . '/\' ' . $this->laravel_config_file, $error); return $error; }