Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 621
Zeile 11... Zeile 11...
11
     * Apply the callback if the given "value" is (or resolves to) truthy.
11
     * Apply the callback if the given "value" is (or resolves to) truthy.
12
     *
12
     *
13
     * @template TWhenParameter
13
     * @template TWhenParameter
14
     * @template TWhenReturnType
14
     * @template TWhenReturnType
15
     *
15
     *
16
     * @param  (\Closure($this): TWhenParameter)|TWhenParameter|null $value
16
     * @param  (\Closure($this): TWhenParameter)|TWhenParameter|null  $value
17
     * @param  (callable($this, TWhenParameter): TWhenReturnType)|null  $callback
17
     * @param  (callable($this, TWhenParameter): TWhenReturnType)|null  $callback
18
     * @param  (callable($this, TWhenParameter): TWhenReturnType)|null  $default
18
     * @param  (callable($this, TWhenParameter): TWhenReturnType)|null  $default
19
     * @return $this|TWhenReturnType
19
     * @return $this|TWhenReturnType
20
     */
20
     */
21
    public function when($value = null, callable $callback = null, callable $default = null)
21
    public function when($value = null, callable $callback = null, callable $default = null)