spotonlive/sl-navigation

View on GitHub
src/SpotOnLive/Navigation/Navigation/ContainerInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SpotOnLive\Navigation\Navigation;

interface ContainerInterface
{
    /**
     * Render menu
     *
     * @param int $depth
     * @return string
     */
    public function render($depth = 0);

    /**
     * Render menu through partial
     *
     * @param string $partial
     * @return string
     */
    public function renderPartial($partial);

    /**
     * Get an array of pages
     *
     * @return array|PageInterface[]
     */
    public function getPages();
}