![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/vendor/arcanedev/log-viewer/src/Commands/ |
<?php declare(strict_types=1); namespace Arcanedev\LogViewer\Commands; use Arcanedev\LogViewer\Contracts\LogViewer as LogViewerContract; use Arcanedev\Support\Console\Command as BaseCommand; /** * Class Command * * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ abstract class Command extends BaseCommand { /* ----------------------------------------------------------------- | Properties | ----------------------------------------------------------------- */ /** @var \Arcanedev\LogViewer\Contracts\LogViewer */ protected $logViewer; /* ----------------------------------------------------------------- | Constructor | ----------------------------------------------------------------- */ /** * Create the command instance. * * @param \Arcanedev\LogViewer\Contracts\LogViewer $logViewer */ public function __construct(LogViewerContract $logViewer) { parent::__construct(); $this->logViewer = $logViewer; } /* ----------------------------------------------------------------- | Other Methods | ----------------------------------------------------------------- */ /** * 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(''); } }