PHP 클래스 Potsky\LaravelLocalizationHelpers\Command\LocalizationAbstract

상속: extends Illuminate\Console\Command, implements Potsky\LaravelLocalizationHelpers\Factory\MessageBagInterface
파일 보기 프로젝트 열기: potsky/laravel-localization-helpers 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$configRepository Illuminate\Config\Repository Config repository.
$display boolean Should commands display something
$logInFileFirst boolean Init log file for first log
$manager Potsky\LaravelLocalizationHelpers\Factory\Localization The localization manager

공개 메소드들

메소드 설명
__construct ( Illuminate\Config\Repository $configRepository ) Create a new command instance.
writeComment ( string $s ) : void Display console message
writeError ( string $s ) : void Display console message
writeInfo ( string $s ) : void Display console message
writeLine ( string $s ) : void Display console message
writeQuestion ( string $s ) : void Display console message

보호된 메소드들

메소드 설명
logInFile ( mixed $txt = '', string $logFile = '/tmp/llh.log' ) Log in a file for debug purpose only

메소드 상세

__construct() 공개 메소드

Create a new command instance.
public __construct ( Illuminate\Config\Repository $configRepository )
$configRepository Illuminate\Config\Repository

logInFile() 보호된 메소드

Log in a file for debug purpose only
protected logInFile ( mixed $txt = '', string $logFile = '/tmp/llh.log' )
$txt mixed
$logFile string

writeComment() 공개 메소드

Display console message
public writeComment ( string $s ) : void
$s string the message to display
리턴 void

writeError() 공개 메소드

Display console message
public writeError ( string $s ) : void
$s string the message to display
리턴 void

writeInfo() 공개 메소드

Display console message
public writeInfo ( string $s ) : void
$s string the message to display
리턴 void

writeLine() 공개 메소드

Display console message
public writeLine ( string $s ) : void
$s string the message to display
리턴 void

writeQuestion() 공개 메소드

Display console message
public writeQuestion ( string $s ) : void
$s string the message to display
리턴 void

프로퍼티 상세

$configRepository 보호되어 있는 프로퍼티

Config repository.
protected Repository,Illuminate\Config $configRepository
리턴 Illuminate\Config\Repository

$display 보호되어 있는 프로퍼티

Should commands display something
protected bool $display
리턴 boolean

$logInFileFirst 보호되어 있는 정적으로 프로퍼티

Init log file for first log
protected static bool $logInFileFirst
리턴 boolean

$manager 보호되어 있는 프로퍼티

The localization manager
protected Localization,Potsky\LaravelLocalizationHelpers\Factory $manager
리턴 Potsky\LaravelLocalizationHelpers\Factory\Localization