public function get() { Rapyd::getContainer('url')->to($this->current()); if ($this->url == '') { return $this->current(); } else { $url = $this->url; $this->url = ''; return $url; } }
/** * Get the Container from Rapyd * * @param string $service * @return \Zofe\Rapyd\Container * @static */ public static function getContainer($service = null) { return \Zofe\Rapyd\Rapyd::getContainer($service); }