Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/croogo/croogo/Core/src/Shell/AppShell.php
<?php

namespace Croogo\Core\Shell;

use
Cake\Console\Shell;

/**
 * Base class for Croogo Shell
 *
 * @package Croogo.Console
 */
class AppShell extends Shell
{

   
/**
     * Convenience method for out() that encloses message between <info /> tag
     */
   
public function info($message = null, $newlines = 1, $level = Shell::NORMAL)
    {
       
$this->out('<info>' . $message . '</info>', $newlines, $level);
    }

   
/**
     * Convenience method for out() that encloses message between <warning /> tag
     */
   
public function warn($message = null, $newlines = 1, $level = Shell::NORMAL)
    {
       
$this->out('<warning>' . $message . '</warning>', $newlines, $level);
    }

   
/**
     * Convenience method for out() that encloses message between <success /> tag
     */
   
public function success($message = null, $newlines = 1, $level = Shell::NORMAL)
    {
       
$this->out('<success>' . $message . '</success>', $newlines, $level);
    }
}