Class Socialveo\Core\Console

InheritanceSocialveo\Core\Console » Phalcon\Cli\Console

Class Console

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$webServices array Socialveo\Core\Console

Property Details

$_di protected property
$_module protected property
$_web_application protected property
$_web_di protected property
$webServices public property
public array $webServices = ['url''router''request''cookies']

Method Details

getDI() public method

public Phalcon\Di\FactoryDefault\Cli getDI ( )
getModule() public method

public Socialveo\Core\Module getModule ( $name null )
$name
getWebApplication() public method

public Socialveo\Core\Application getWebApplication ( )
getWebDI() public method

public Phalcon\Di\FactoryDefault getWebDI ( )
handle() public method

Handle the whole command-line tasks

public boolean|void handle ( array $arguments null )
$arguments array
throws \Socialveo\Core\Exception
init() public method

public void init ( $config, $module )
$config Phalcon\Config|stdClass
$module Socialveo\Core\Module
throws Exception
parseActionName() public method

Return action

public mixed parseActionName ( $defaultAction 'main' )
$defaultAction string

[optional]

parseParams() public method

Parse params from command line

public array parseParams ( )