Arcanedev\LogViewer\Contracts\LogViewer::version PHP Метод

version() публичный Метод

Get the LogViewer version.
public version ( ) : string
Результат string
    public function version();

Usage Example

Пример #1
0
 /**
  * Display LogViewer Logo and Copyrights.
  */
 protected function displayLogViewer()
 {
     // LOGO
     $this->comment('   __                   _                        ');
     $this->comment('  / /  ___   __ _/\\   /(_) _____      _____ _ __ ');
     $this->comment(' / /  / _ \\ / _` \\ \\ / / |/ _ \\ \\ /\\ / / _ \\ \'__|');
     $this->comment('/ /__| (_) | (_| |\\ V /| |  __/\\ V  V /  __/ |   ');
     $this->comment('\\____/\\___/ \\__, | \\_/ |_|\\___| \\_/\\_/ \\___|_|   ');
     $this->comment('            |___/                                ');
     $this->line('');
     // Copyright
     $this->comment('Version ' . $this->logViewer->version() . ' - Created by ARCANEDEV' . chr(169));
     $this->line('');
 }