EN Before the introduction of this feature there were plans to create a new API for sending cookies in Nette, because the number of arguments for setCookie() really grew and the positional notation was confusing
EN Before the introduction of this feature there were plans to create a new API for sending cookies in Nette, because the number of arguments for setCookie() really grew and the positional notation was confusing
CS Před příchodem této featury bylo v plánu vytvořit v Nette nové API pro odesílání cookies, protože počet parametrů setCookie() opravdu narostl a poziční zápis byl nepřehledný
bahasa Inggris | Ceko |
---|---|
api | api |
cookies | cookies |
really | opravdu |
in | v |
a | a |
of | z |
because | protože |
EN The combination of named arguments and variadics gives the option to finally have a fixed syntax, for example, for the link() method, to which we can pass named arguments as well as positional ones:
CS Kombinace pojmenovaných argumentů a variadics dává možnost konečně mít pevnou syntax třeba pro metodu presenteru link(), které teď můžeme pojmenované argumenty předávat stejně jako poziční:
Menampilkan 2 dari 2 terjemahan