Yab\Quarx\Repositories\LinkRepository::getLinksByMenu PHP Méthode

getLinksByMenu() public méthode

Find Links by given id.
public getLinksByMenu ( integer $id ) : Collection | null | static | Links
$id integer
Résultat Illuminate\Support\Collection | null | static | Links
    public function getLinksByMenu($id)
    {
        return Link::where('menu_id', $id)->get();
    }