@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * @param string $view |
11 | 11 | * @return bool |
12 | 12 | */ |
13 | - public function exists($view); |
|
13 | + public function exists( $view ); |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Get the evaluated view contents for the given path. |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * @param array $mergeData |
21 | 21 | * @return \Illuminate\Contracts\View\View |
22 | 22 | */ |
23 | - public function file($path, $data = [], $mergeData = []); |
|
23 | + public function file( $path, $data = [ ], $mergeData = [ ] ); |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Get the evaluated view contents for the given view. |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @param array $mergeData |
31 | 31 | * @return \Illuminate\Contracts\View\View |
32 | 32 | */ |
33 | - public function make($view, $data = [], $mergeData = []); |
|
33 | + public function make( $view, $data = [ ], $mergeData = [ ] ); |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * Add a piece of shared data to the environment. |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @param mixed $value |
40 | 40 | * @return mixed |
41 | 41 | */ |
42 | - public function share($key, $value = null); |
|
42 | + public function share( $key, $value = null ); |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * Register a view composer event. |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param \Closure|string $callback |
49 | 49 | * @return array |
50 | 50 | */ |
51 | - public function composer($views, $callback); |
|
51 | + public function composer( $views, $callback ); |
|
52 | 52 | |
53 | 53 | /** |
54 | 54 | * Register a view creator event. |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * @param \Closure|string $callback |
58 | 58 | * @return array |
59 | 59 | */ |
60 | - public function creator($views, $callback); |
|
60 | + public function creator( $views, $callback ); |
|
61 | 61 | |
62 | 62 | /** |
63 | 63 | * Add a new namespace to the loader. |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @param string|array $hints |
67 | 67 | * @return $this |
68 | 68 | */ |
69 | - public function addNamespace($namespace, $hints); |
|
69 | + public function addNamespace( $namespace, $hints ); |
|
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Replace the namespace hints for the given namespace. |
@@ -75,5 +75,5 @@ discard block |
||
75 | 75 | * @param string|array $hints |
76 | 76 | * @return $this |
77 | 77 | */ |
78 | - public function replaceNamespace($namespace, $hints); |
|
78 | + public function replaceNamespace( $namespace, $hints ); |
|
79 | 79 | } |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\View; |
4 | 4 | |
5 | -interface Factory |
|
6 | -{ |
|
5 | +interface Factory { |
|
7 | 6 | /** |
8 | 7 | * Determine if a given view exists. |
9 | 8 | * |
@@ -4,76 +4,76 @@ |
||
4 | 4 | |
5 | 5 | interface Factory |
6 | 6 | { |
7 | - /** |
|
8 | - * Determine if a given view exists. |
|
9 | - * |
|
10 | - * @param string $view |
|
11 | - * @return bool |
|
12 | - */ |
|
13 | - public function exists($view); |
|
7 | + /** |
|
8 | + * Determine if a given view exists. |
|
9 | + * |
|
10 | + * @param string $view |
|
11 | + * @return bool |
|
12 | + */ |
|
13 | + public function exists($view); |
|
14 | 14 | |
15 | - /** |
|
16 | - * Get the evaluated view contents for the given path. |
|
17 | - * |
|
18 | - * @param string $path |
|
19 | - * @param array $data |
|
20 | - * @param array $mergeData |
|
21 | - * @return \Illuminate\Contracts\View\View |
|
22 | - */ |
|
23 | - public function file($path, $data = [], $mergeData = []); |
|
15 | + /** |
|
16 | + * Get the evaluated view contents for the given path. |
|
17 | + * |
|
18 | + * @param string $path |
|
19 | + * @param array $data |
|
20 | + * @param array $mergeData |
|
21 | + * @return \Illuminate\Contracts\View\View |
|
22 | + */ |
|
23 | + public function file($path, $data = [], $mergeData = []); |
|
24 | 24 | |
25 | - /** |
|
26 | - * Get the evaluated view contents for the given view. |
|
27 | - * |
|
28 | - * @param string $view |
|
29 | - * @param array $data |
|
30 | - * @param array $mergeData |
|
31 | - * @return \Illuminate\Contracts\View\View |
|
32 | - */ |
|
33 | - public function make($view, $data = [], $mergeData = []); |
|
25 | + /** |
|
26 | + * Get the evaluated view contents for the given view. |
|
27 | + * |
|
28 | + * @param string $view |
|
29 | + * @param array $data |
|
30 | + * @param array $mergeData |
|
31 | + * @return \Illuminate\Contracts\View\View |
|
32 | + */ |
|
33 | + public function make($view, $data = [], $mergeData = []); |
|
34 | 34 | |
35 | - /** |
|
36 | - * Add a piece of shared data to the environment. |
|
37 | - * |
|
38 | - * @param array|string $key |
|
39 | - * @param mixed $value |
|
40 | - * @return mixed |
|
41 | - */ |
|
42 | - public function share($key, $value = null); |
|
35 | + /** |
|
36 | + * Add a piece of shared data to the environment. |
|
37 | + * |
|
38 | + * @param array|string $key |
|
39 | + * @param mixed $value |
|
40 | + * @return mixed |
|
41 | + */ |
|
42 | + public function share($key, $value = null); |
|
43 | 43 | |
44 | - /** |
|
45 | - * Register a view composer event. |
|
46 | - * |
|
47 | - * @param array|string $views |
|
48 | - * @param \Closure|string $callback |
|
49 | - * @return array |
|
50 | - */ |
|
51 | - public function composer($views, $callback); |
|
44 | + /** |
|
45 | + * Register a view composer event. |
|
46 | + * |
|
47 | + * @param array|string $views |
|
48 | + * @param \Closure|string $callback |
|
49 | + * @return array |
|
50 | + */ |
|
51 | + public function composer($views, $callback); |
|
52 | 52 | |
53 | - /** |
|
54 | - * Register a view creator event. |
|
55 | - * |
|
56 | - * @param array|string $views |
|
57 | - * @param \Closure|string $callback |
|
58 | - * @return array |
|
59 | - */ |
|
60 | - public function creator($views, $callback); |
|
53 | + /** |
|
54 | + * Register a view creator event. |
|
55 | + * |
|
56 | + * @param array|string $views |
|
57 | + * @param \Closure|string $callback |
|
58 | + * @return array |
|
59 | + */ |
|
60 | + public function creator($views, $callback); |
|
61 | 61 | |
62 | - /** |
|
63 | - * Add a new namespace to the loader. |
|
64 | - * |
|
65 | - * @param string $namespace |
|
66 | - * @param string|array $hints |
|
67 | - * @return $this |
|
68 | - */ |
|
69 | - public function addNamespace($namespace, $hints); |
|
62 | + /** |
|
63 | + * Add a new namespace to the loader. |
|
64 | + * |
|
65 | + * @param string $namespace |
|
66 | + * @param string|array $hints |
|
67 | + * @return $this |
|
68 | + */ |
|
69 | + public function addNamespace($namespace, $hints); |
|
70 | 70 | |
71 | - /** |
|
72 | - * Replace the namespace hints for the given namespace. |
|
73 | - * |
|
74 | - * @param string $namespace |
|
75 | - * @param string|array $hints |
|
76 | - * @return $this |
|
77 | - */ |
|
78 | - public function replaceNamespace($namespace, $hints); |
|
71 | + /** |
|
72 | + * Replace the namespace hints for the given namespace. |
|
73 | + * |
|
74 | + * @param string $namespace |
|
75 | + * @param string|array $hints |
|
76 | + * @return $this |
|
77 | + */ |
|
78 | + public function replaceNamespace($namespace, $hints); |
|
79 | 79 | } |
@@ -6,35 +6,35 @@ |
||
6 | 6 | |
7 | 7 | interface Pipeline |
8 | 8 | { |
9 | - /** |
|
10 | - * Set the traveler object being sent on the pipeline. |
|
11 | - * |
|
12 | - * @param mixed $traveler |
|
13 | - * @return $this |
|
14 | - */ |
|
15 | - public function send($traveler); |
|
9 | + /** |
|
10 | + * Set the traveler object being sent on the pipeline. |
|
11 | + * |
|
12 | + * @param mixed $traveler |
|
13 | + * @return $this |
|
14 | + */ |
|
15 | + public function send($traveler); |
|
16 | 16 | |
17 | - /** |
|
18 | - * Set the stops of the pipeline. |
|
19 | - * |
|
20 | - * @param dynamic|array $stops |
|
21 | - * @return $this |
|
22 | - */ |
|
23 | - public function through($stops); |
|
17 | + /** |
|
18 | + * Set the stops of the pipeline. |
|
19 | + * |
|
20 | + * @param dynamic|array $stops |
|
21 | + * @return $this |
|
22 | + */ |
|
23 | + public function through($stops); |
|
24 | 24 | |
25 | - /** |
|
26 | - * Set the method to call on the stops. |
|
27 | - * |
|
28 | - * @param string $method |
|
29 | - * @return $this |
|
30 | - */ |
|
31 | - public function via($method); |
|
25 | + /** |
|
26 | + * Set the method to call on the stops. |
|
27 | + * |
|
28 | + * @param string $method |
|
29 | + * @return $this |
|
30 | + */ |
|
31 | + public function via($method); |
|
32 | 32 | |
33 | - /** |
|
34 | - * Run the pipeline with a final destination callback. |
|
35 | - * |
|
36 | - * @param \Closure $destination |
|
37 | - * @return mixed |
|
38 | - */ |
|
39 | - public function then(Closure $destination); |
|
33 | + /** |
|
34 | + * Run the pipeline with a final destination callback. |
|
35 | + * |
|
36 | + * @param \Closure $destination |
|
37 | + * @return mixed |
|
38 | + */ |
|
39 | + public function then(Closure $destination); |
|
40 | 40 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @param mixed $traveler |
13 | 13 | * @return $this |
14 | 14 | */ |
15 | - public function send($traveler); |
|
15 | + public function send( $traveler ); |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Set the stops of the pipeline. |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * @param dynamic|array $stops |
21 | 21 | * @return $this |
22 | 22 | */ |
23 | - public function through($stops); |
|
23 | + public function through( $stops ); |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Set the method to call on the stops. |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * @param string $method |
29 | 29 | * @return $this |
30 | 30 | */ |
31 | - public function via($method); |
|
31 | + public function via( $method ); |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * Run the pipeline with a final destination callback. |
@@ -36,5 +36,5 @@ discard block |
||
36 | 36 | * @param \Closure $destination |
37 | 37 | * @return mixed |
38 | 38 | */ |
39 | - public function then(Closure $destination); |
|
39 | + public function then( Closure $destination ); |
|
40 | 40 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Closure; |
6 | 6 | |
7 | -interface Pipeline |
|
8 | -{ |
|
7 | +interface Pipeline { |
|
9 | 8 | /** |
10 | 9 | * Set the traveler object being sent on the pipeline. |
11 | 10 | * |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | interface Hub |
6 | 6 | { |
7 | - /** |
|
8 | - * Send an object through one of the available pipelines. |
|
9 | - * |
|
10 | - * @param mixed $object |
|
11 | - * @param string|null $pipeline |
|
12 | - * @return mixed |
|
13 | - */ |
|
14 | - public function pipe($object, $pipeline = null); |
|
7 | + /** |
|
8 | + * Send an object through one of the available pipelines. |
|
9 | + * |
|
10 | + * @param mixed $object |
|
11 | + * @param string|null $pipeline |
|
12 | + * @return mixed |
|
13 | + */ |
|
14 | + public function pipe($object, $pipeline = null); |
|
15 | 15 | } |
@@ -11,5 +11,5 @@ |
||
11 | 11 | * @param string|null $pipeline |
12 | 12 | * @return mixed |
13 | 13 | */ |
14 | - public function pipe($object, $pipeline = null); |
|
14 | + public function pipe( $object, $pipeline = null ); |
|
15 | 15 | } |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Pipeline; |
4 | 4 | |
5 | -interface Hub |
|
6 | -{ |
|
5 | +interface Hub { |
|
7 | 6 | /** |
8 | 7 | * Send an object through one of the available pipelines. |
9 | 8 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Broadcasting; |
4 | 4 | |
5 | -interface ShouldBroadcast |
|
6 | -{ |
|
5 | +interface ShouldBroadcast { |
|
7 | 6 | /** |
8 | 7 | * Get the channels the event should broadcast on. |
9 | 8 | * |
@@ -10,10 +10,10 @@ |
||
10 | 10 | |
11 | 11 | interface ShouldBroadcast |
12 | 12 | { |
13 | - /** |
|
14 | - * Get the channels the event should broadcast on. |
|
15 | - * |
|
16 | - * @return array |
|
17 | - */ |
|
18 | - public function broadcastOn(); |
|
13 | + /** |
|
14 | + * Get the channels the event should broadcast on. |
|
15 | + * |
|
16 | + * @return array |
|
17 | + */ |
|
18 | + public function broadcastOn(); |
|
19 | 19 | } |
@@ -4,5 +4,5 @@ |
||
4 | 4 | |
5 | 5 | interface ShouldBroadcastNow extends ShouldBroadcast |
6 | 6 | { |
7 | - // |
|
7 | + // |
|
8 | 8 | } |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Broadcasting; |
4 | 4 | |
5 | -interface ShouldBroadcastNow extends ShouldBroadcast |
|
6 | -{ |
|
5 | +interface ShouldBroadcastNow extends ShouldBroadcast { |
|
7 | 6 | // |
8 | 7 | } |
@@ -4,30 +4,30 @@ |
||
4 | 4 | |
5 | 5 | interface Broadcaster |
6 | 6 | { |
7 | - /** |
|
8 | - * Authenticate the incoming request for a given channel. |
|
9 | - * |
|
10 | - * @param \Illuminate\Http\Request $request |
|
11 | - * @return mixed |
|
12 | - */ |
|
13 | - public function auth($request); |
|
7 | + /** |
|
8 | + * Authenticate the incoming request for a given channel. |
|
9 | + * |
|
10 | + * @param \Illuminate\Http\Request $request |
|
11 | + * @return mixed |
|
12 | + */ |
|
13 | + public function auth($request); |
|
14 | 14 | |
15 | - /** |
|
16 | - * Return the valid authentication response. |
|
17 | - * |
|
18 | - * @param \Illuminate\Http\Request $request |
|
19 | - * @param mixed $result |
|
20 | - * @return mixed |
|
21 | - */ |
|
22 | - public function validAuthenticationResponse($request, $result); |
|
15 | + /** |
|
16 | + * Return the valid authentication response. |
|
17 | + * |
|
18 | + * @param \Illuminate\Http\Request $request |
|
19 | + * @param mixed $result |
|
20 | + * @return mixed |
|
21 | + */ |
|
22 | + public function validAuthenticationResponse($request, $result); |
|
23 | 23 | |
24 | - /** |
|
25 | - * Broadcast the given event. |
|
26 | - * |
|
27 | - * @param array $channels |
|
28 | - * @param string $event |
|
29 | - * @param array $payload |
|
30 | - * @return void |
|
31 | - */ |
|
32 | - public function broadcast(array $channels, $event, array $payload = []); |
|
24 | + /** |
|
25 | + * Broadcast the given event. |
|
26 | + * |
|
27 | + * @param array $channels |
|
28 | + * @param string $event |
|
29 | + * @param array $payload |
|
30 | + * @return void |
|
31 | + */ |
|
32 | + public function broadcast(array $channels, $event, array $payload = []); |
|
33 | 33 | } |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * @param \Illuminate\Http\Request $request |
11 | 11 | * @return mixed |
12 | 12 | */ |
13 | - public function auth($request); |
|
13 | + public function auth( $request ); |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Return the valid authentication response. |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * @param mixed $result |
20 | 20 | * @return mixed |
21 | 21 | */ |
22 | - public function validAuthenticationResponse($request, $result); |
|
22 | + public function validAuthenticationResponse( $request, $result ); |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Broadcast the given event. |
@@ -29,5 +29,5 @@ discard block |
||
29 | 29 | * @param array $payload |
30 | 30 | * @return void |
31 | 31 | */ |
32 | - public function broadcast(array $channels, $event, array $payload = []); |
|
32 | + public function broadcast( array $channels, $event, array $payload = [ ] ); |
|
33 | 33 | } |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Broadcasting; |
4 | 4 | |
5 | -interface Broadcaster |
|
6 | -{ |
|
5 | +interface Broadcaster { |
|
7 | 6 | /** |
8 | 7 | * Authenticate the incoming request for a given channel. |
9 | 8 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Broadcasting; |
4 | 4 | |
5 | -interface Factory |
|
6 | -{ |
|
5 | +interface Factory { |
|
7 | 6 | /** |
8 | 7 | * Get a broadcaster implementation by name. |
9 | 8 | * |
@@ -10,11 +10,11 @@ |
||
10 | 10 | |
11 | 11 | interface Factory |
12 | 12 | { |
13 | - /** |
|
14 | - * Get a broadcaster implementation by name. |
|
15 | - * |
|
16 | - * @param string $name |
|
17 | - * @return void |
|
18 | - */ |
|
19 | - public function connection($name = null); |
|
13 | + /** |
|
14 | + * Get a broadcaster implementation by name. |
|
15 | + * |
|
16 | + * @param string $name |
|
17 | + * @return void |
|
18 | + */ |
|
19 | + public function connection($name = null); |
|
20 | 20 | } |
@@ -16,5 +16,5 @@ |
||
16 | 16 | * @param string $name |
17 | 17 | * @return void |
18 | 18 | */ |
19 | - public function connection($name = null); |
|
19 | + public function connection( $name = null ); |
|
20 | 20 | } |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Cookie; |
4 | 4 | |
5 | -interface QueueingFactory extends Factory |
|
6 | -{ |
|
5 | +interface QueueingFactory extends Factory { |
|
7 | 6 | /** |
8 | 7 | * Queue a cookie to send with the next response. |
9 | 8 | * |
@@ -10,25 +10,25 @@ |
||
10 | 10 | |
11 | 11 | interface QueueingFactory extends Factory |
12 | 12 | { |
13 | - /** |
|
14 | - * Queue a cookie to send with the next response. |
|
15 | - * |
|
16 | - * @param array $parameters |
|
17 | - * @return void |
|
18 | - */ |
|
19 | - public function queue(...$parameters); |
|
13 | + /** |
|
14 | + * Queue a cookie to send with the next response. |
|
15 | + * |
|
16 | + * @param array $parameters |
|
17 | + * @return void |
|
18 | + */ |
|
19 | + public function queue(...$parameters); |
|
20 | 20 | |
21 | - /** |
|
22 | - * Remove a cookie from the queue. |
|
23 | - * |
|
24 | - * @param string $name |
|
25 | - */ |
|
26 | - public function unqueue($name); |
|
21 | + /** |
|
22 | + * Remove a cookie from the queue. |
|
23 | + * |
|
24 | + * @param string $name |
|
25 | + */ |
|
26 | + public function unqueue($name); |
|
27 | 27 | |
28 | - /** |
|
29 | - * Get the cookies which have been queued for the next request. |
|
30 | - * |
|
31 | - * @return array |
|
32 | - */ |
|
33 | - public function getQueuedCookies(); |
|
28 | + /** |
|
29 | + * Get the cookies which have been queued for the next request. |
|
30 | + * |
|
31 | + * @return array |
|
32 | + */ |
|
33 | + public function getQueuedCookies(); |
|
34 | 34 | } |
@@ -16,14 +16,14 @@ |
||
16 | 16 | * @param array $parameters |
17 | 17 | * @return void |
18 | 18 | */ |
19 | - public function queue(...$parameters); |
|
19 | + public function queue( ...$parameters ); |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * Remove a cookie from the queue. |
23 | 23 | * |
24 | 24 | * @param string $name |
25 | 25 | */ |
26 | - public function unqueue($name); |
|
26 | + public function unqueue( $name ); |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * Get the cookies which have been queued for the next request. |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Cookie; |
4 | 4 | |
5 | -interface Factory |
|
6 | -{ |
|
5 | +interface Factory { |
|
7 | 6 | /** |
8 | 7 | * Create a new cookie instance. |
9 | 8 | * |
@@ -4,40 +4,40 @@ |
||
4 | 4 | |
5 | 5 | interface Factory |
6 | 6 | { |
7 | - /** |
|
8 | - * Create a new cookie instance. |
|
9 | - * |
|
10 | - * @param string $name |
|
11 | - * @param string $value |
|
12 | - * @param int $minutes |
|
13 | - * @param string $path |
|
14 | - * @param string $domain |
|
15 | - * @param bool $secure |
|
16 | - * @param bool $httpOnly |
|
17 | - * @return \Symfony\Component\HttpFoundation\Cookie |
|
18 | - */ |
|
19 | - public function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true); |
|
7 | + /** |
|
8 | + * Create a new cookie instance. |
|
9 | + * |
|
10 | + * @param string $name |
|
11 | + * @param string $value |
|
12 | + * @param int $minutes |
|
13 | + * @param string $path |
|
14 | + * @param string $domain |
|
15 | + * @param bool $secure |
|
16 | + * @param bool $httpOnly |
|
17 | + * @return \Symfony\Component\HttpFoundation\Cookie |
|
18 | + */ |
|
19 | + public function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true); |
|
20 | 20 | |
21 | - /** |
|
22 | - * Create a cookie that lasts "forever" (five years). |
|
23 | - * |
|
24 | - * @param string $name |
|
25 | - * @param string $value |
|
26 | - * @param string $path |
|
27 | - * @param string $domain |
|
28 | - * @param bool $secure |
|
29 | - * @param bool $httpOnly |
|
30 | - * @return \Symfony\Component\HttpFoundation\Cookie |
|
31 | - */ |
|
32 | - public function forever($name, $value, $path = null, $domain = null, $secure = false, $httpOnly = true); |
|
21 | + /** |
|
22 | + * Create a cookie that lasts "forever" (five years). |
|
23 | + * |
|
24 | + * @param string $name |
|
25 | + * @param string $value |
|
26 | + * @param string $path |
|
27 | + * @param string $domain |
|
28 | + * @param bool $secure |
|
29 | + * @param bool $httpOnly |
|
30 | + * @return \Symfony\Component\HttpFoundation\Cookie |
|
31 | + */ |
|
32 | + public function forever($name, $value, $path = null, $domain = null, $secure = false, $httpOnly = true); |
|
33 | 33 | |
34 | - /** |
|
35 | - * Expire the given cookie. |
|
36 | - * |
|
37 | - * @param string $name |
|
38 | - * @param string $path |
|
39 | - * @param string $domain |
|
40 | - * @return \Symfony\Component\HttpFoundation\Cookie |
|
41 | - */ |
|
42 | - public function forget($name, $path = null, $domain = null); |
|
34 | + /** |
|
35 | + * Expire the given cookie. |
|
36 | + * |
|
37 | + * @param string $name |
|
38 | + * @param string $path |
|
39 | + * @param string $domain |
|
40 | + * @return \Symfony\Component\HttpFoundation\Cookie |
|
41 | + */ |
|
42 | + public function forget($name, $path = null, $domain = null); |
|
43 | 43 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @param bool $httpOnly |
17 | 17 | * @return \Symfony\Component\HttpFoundation\Cookie |
18 | 18 | */ |
19 | - public function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true); |
|
19 | + public function make( $name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httpOnly = true ); |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * Create a cookie that lasts "forever" (five years). |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param bool $httpOnly |
30 | 30 | * @return \Symfony\Component\HttpFoundation\Cookie |
31 | 31 | */ |
32 | - public function forever($name, $value, $path = null, $domain = null, $secure = false, $httpOnly = true); |
|
32 | + public function forever( $name, $value, $path = null, $domain = null, $secure = false, $httpOnly = true ); |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Expire the given cookie. |
@@ -39,5 +39,5 @@ discard block |
||
39 | 39 | * @param string $domain |
40 | 40 | * @return \Symfony\Component\HttpFoundation\Cookie |
41 | 41 | */ |
42 | - public function forget($name, $path = null, $domain = null); |
|
42 | + public function forget( $name, $path = null, $domain = null ); |
|
43 | 43 | } |