/** * Set a service * * @param string $name * @param mixed $call * @param mixed $params * @return Application */ public function setService($name, $call, $params = null) { $this->services->set($name, $call, $params); return $this; }
/** * Set a service * * @param string $name * @param mixed $service * @return Application */ public function setService($name, $service) { $this->services->set($name, $service); return $this; }