Yab\Quarx\Repositories\LinkRepository::getLinksByMenu PHP 메소드

getLinksByMenu() 공개 메소드

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