Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Cookie/Factory.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Contracts\Cookie;
4
5 interface Factory
6 {
7 /**
8 * Create a new cookie instance.
9 *
10 * @param string $name
11 * @param string $value
12 * @param int $minutes
13 * @param string|null $path
14 * @param string|null $domain
15 * @param bool|null $secure
16 * @param bool $httpOnly
17 * @param bool $raw
18 * @param string|null $sameSite
19 * @return \Symfony\Component\HttpFoundation\Cookie
20 */
21 public function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null);
22
23 /**
24 * Create a cookie that lasts "forever" (400 days).
25 *
26 * @param string $name
27 * @param string $value
28 * @param string|null $path
29 * @param string|null $domain
30 * @param bool|null $secure
31 * @param bool $httpOnly
32 * @param bool $raw
33 * @param string|null $sameSite
34 * @return \Symfony\Component\HttpFoundation\Cookie
35 */
36 public function forever($name, $value, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null);
37
38 /**
39 * Expire the given cookie.
40 *
41 * @param string $name
42 * @param string|null $path
43 * @param string|null $domain
44 * @return \Symfony\Component\HttpFoundation\Cookie
45 */
46 public function forget($name, $path = null, $domain = null);
47 }