Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Potsky
LaravelLocalizationHelpers
Factory
Localization
getShortPath
Potsky\LaravelLocalizationHelpers\Factory\Localization::getShortPath PHP Method
Localization Class Documentation
Datei anzeigen
Open project: potsky/laravel-localization-helpers
getShortPath()
public
method
Return an relative path to the laravel directory
public
getShortPath
(
string
$path
) :
string
$path
string
the absolute path
return
string
the relative path
public function getShortPath($path) { return str_replace(base_path(), '', $path); }
Localization
__construct
convertLemmaToFlatArray
convertLemmaToStructuredArray
deleteBackupFiles
extractTranslationFromPhpFile
extractTranslationsFromFolders
findLemma
fixCodeStyle
getBackupDate
getBackupFileDate
getBackupFiles
getBackupPath
getFilesWithExtension
getLangPath
getMessageBag
getPath
getShortPath
isAFixer
isALevel
isDateOlderThanDays
translate