App\Source\Composite\Menu::getUrl PHP Method

getUrl() public method

Return url
public getUrl ( array | string $options ) : string
$options array | string
return string
    public function getUrl($options)
    {
        if (!is_array($options)) {
            return $options;
        }
        if (isset($options['url'])) {
            return (string) $options['url'];
        }
        return "";
    }