src/Anonym/View/LanguageManager.php
public function getLanguage($file = '')
    {
        $path = $this->path . DIRECTORY_SEPARATOR . $file . '.php';
        if (file_exists($path)) {
            $variables = require $path;
            return $variables;
        } else {
            return false;
        }
    }
public function getLanguage($file = '')
    {
        $path = $this->path . DIRECTORY_SEPARATOR . $file . '.php';
        if (file_exists($path)) {
            $variables = require $path;
            return $variables;
        } else {
            return false;
        }
    }
public function getLanguage ( $ file = '' ) { $ path = $ this -> path . DIRECTORY_SEPARATOR . $ file . '.php' ; if ( file_exists ( $ path ) ) { $ variables = require $ path ; return $ variables ; } else { return false ; } }
get the language variables with file path

@param string $file the file name
@return array|bool registered varibles on file
get the language variables with file path