/**
  * @param null $route
  * @param null $default
  *
  * @return mixed|null
  * @throws \ObjectivePHP\Primitives\Exception
  */
 public function fromRoute($route = null, $default = null)
 {
     if (is_null($route)) {
         return $this->params->get('route');
     }
     return $this->get($route, $default, 'route');
 }
 public function get($param, $default = null, $origin = 'cli')
 {
     return $this->params->get($origin)->get($param, $default);
 }
 /**
  * @param      $param
  * @param null $default
  *
  * @return mixed|null
  * @throws \ObjectivePHP\Primitives\Exception
  */
 public function getParam($param, $default = null)
 {
     return $this->params->get($param, $default);
 }