public function SelecionarTodos() { $obj = new Usuario(); $cmd = new Command(); return $cmd->ExecuteSelectAll($obj); }
public function runFromArgv($output = null) { if ($_SERVER['argc'] < 2) { throw new CommandNotFoundException("Command not specified"); } list($command, $environment) = $this->parseCommandAndEnvironment($_SERVER['argv'][1]); list($arguments, $options) = Command::parseArgs(array_slice($_SERVER['argv'], 2)); $this->environment or $this->environment = $environment; $this->run($command, $arguments, $options, $output); }