PHP Трейт Laravel\SparkInstaller\InteractsWithSparkConfiguration

Показать файл Открыть проект

Защищенные методы

Метод Описание
configExists ( ) : boolean Determine if the Spark configuration file exists.
configPath ( ) : string Get the Spark configuration file path.
homePath ( ) : string Get the User's home path.
readToken ( ) : string Get the Spark API token from the configuration file.
storeToken ( string $token ) : void Write the Spark token to the configuration.

Описание методов

configExists() защищенный Метод

Determine if the Spark configuration file exists.
protected configExists ( ) : boolean
Результат boolean

configPath() защищенный Метод

Get the Spark configuration file path.
protected configPath ( ) : string
Результат string

homePath() защищенный Метод

Get the User's home path.
protected homePath ( ) : string
Результат string

readToken() защищенный Метод

Get the Spark API token from the configuration file.
protected readToken ( ) : string
Результат string

storeToken() защищенный Метод

Write the Spark token to the configuration.
protected storeToken ( string $token ) : void
$token string
Результат void