Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 200
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
3
/*
3
/*
4
 * This file is part of Psy Shell.
4
 * This file is part of Psy Shell.
5
 *
5
 *
6
 * (c) 2012-2022 Justin Hileman
6
 * (c) 2012-2023 Justin Hileman
7
 *
7
 *
8
 * For the full copyright and license information, please view the LICENSE
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
9
 * file that was distributed with this source code.
Zeile 152... Zeile 152...
152
     * exists. If none of them exists, returns the highest precedence home
152
     * exists. If none of them exists, returns the highest precedence home
153
     * config directory (`%APPDATA%/PsySH` on Windows, `~/.config/psysh`
153
     * config directory (`%APPDATA%/PsySH` on Windows, `~/.config/psysh`
154
     * everywhere else).
154
     * everywhere else).
155
     *
155
     *
156
     * @see self::homeConfigDir
156
     * @see self::homeConfigDir
157
     *
-
 
158
     * @return string
-
 
159
     */
157
     */
160
    public function currentConfigDir(): string
158
    public function currentConfigDir(): string
161
    {
159
    {
162
        if ($this->configDir !== null) {
160
        if ($this->configDir !== null) {
163
            return $this->configDir;
161
            return $this->configDir;
Zeile 256... Zeile 254...
256
 
254
 
257
    /**
255
    /**
258
     * Get a runtime directory.
256
     * Get a runtime directory.
259
     *
257
     *
260
     * Defaults to `/psysh` inside the system's temp dir.
-
 
261
     *
-
 
262
     * @return string
258
     * Defaults to `/psysh` inside the system's temp dir.
263
     */
259
     */
264
    public function runtimeDir(): string
260
    public function runtimeDir(): string
265
    {
261
    {
266
        if ($this->runtimeDir !== null) {
262
        if ($this->runtimeDir !== null) {