Overview

Namespaces

  • Cz
  • None

Classes

  • Cli
  • Cz\Cli
  • Overview
  • Namespace
  • Class
 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 
<?php
    /** Example PHP script for PhpCli library
     * 
     * @author      Jan Pecha, <janpecha@email.cz>
     * @version     2012-12-10-1
     */
    
    require __DIR__ . '/../Cli.php';
    
    class Cli extends Cz\Cli
    {
        const COLOR_ERROR = '1;31';
    }
    
    Cli::log('Hello!');
    Cli::error('Error!');
    Cli::success('Success!');
    Cli::warn('Warning!');
    Cli::info('Info!');

czproject/phpcli v1.0.0 API documentation API documentation generated by ApiGen