protected function getBreadcrumbByUrl($url, $home = 'Home')
    {
        $nodes      = explode('/', $url);
        $countNodes = count($nodes);

        $breadcrumb = [];
        $root       = '';

        for ($i = 0; $i < $countNodes; ++$i) {
            $node         = ($i === 0) ? $home : $nodes[$i];
            $breadcrumb[] = [
                'href'   => ($i === 0) ? '/' : ($root.'/'.$node),
                'text'   => $node,
                'active' => ($i === ($countNodes - 1)),
                'class'  => ($i === ($countNodes - 1)) ? 'active' : null,
                'id'     => ($i === ($countNodes - 1)) ? 'breadcrumb' : null,
            ];

            $root .= ($i > 0) ? ('/'.$node) : '';
        }

        return $breadcrumb;
    }