Yab\Quarx\Repositories\LinkRepository::getLinksByMenu PHP Method

getLinksByMenu() public method

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