PHP Class Airship\Hangar\SessionCommand

Class SessionCommand
Inheritance: extends Command
Afficher le fichier Open project: paragonie/airship

Méthodes protégées

Méthode Description
findRelativeDir ( ) : string Get the difference between the session root dir and the current dir
getRealPath ( string $file ) : string If a file path is absolute, but still in the root, truncate it.

Method Details

findRelativeDir() protected méthode

Get the difference between the session root dir and the current dir
protected findRelativeDir ( ) : string
Résultat string

getRealPath() protected méthode

If a file path is relative to the root, return it. Otherwise, thorw an error!
protected getRealPath ( string $file ) : string
$file string
Résultat string