server/src/app/Console/Commands/Inspire.php
author durandn
Tue, 15 Dec 2015 10:40:00 +0100
changeset 24 de47e8f66e8b
parent 2 00e2916104fe
permissions -rw-r--r--
Added command "corpus-parole:indexDocuments" to index documents into ElasticSearch

<?php

namespace CorpusParole\Console\Commands;

use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;

class Inspire extends Command
{
    /**
     * The console command name.
     *
     * @var string
     */
    protected $name = 'inspire';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Display an inspiring quote';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
    }
}