@@ -6,71 +6,71 @@ |
||
6 | 6 | |
7 | 7 | interface Mailable |
8 | 8 | { |
9 | - /** |
|
10 | - * Send the message using the given mailer. |
|
11 | - * |
|
12 | - * @param \Illuminate\Contracts\Mail\Factory|\Illuminate\Contracts\Mail\Mailer $mailer |
|
13 | - * @return void |
|
14 | - */ |
|
15 | - public function send($mailer); |
|
9 | + /** |
|
10 | + * Send the message using the given mailer. |
|
11 | + * |
|
12 | + * @param \Illuminate\Contracts\Mail\Factory|\Illuminate\Contracts\Mail\Mailer $mailer |
|
13 | + * @return void |
|
14 | + */ |
|
15 | + public function send($mailer); |
|
16 | 16 | |
17 | - /** |
|
18 | - * Queue the given message. |
|
19 | - * |
|
20 | - * @param \Illuminate\Contracts\Queue\Factory $queue |
|
21 | - * @return mixed |
|
22 | - */ |
|
23 | - public function queue(Queue $queue); |
|
17 | + /** |
|
18 | + * Queue the given message. |
|
19 | + * |
|
20 | + * @param \Illuminate\Contracts\Queue\Factory $queue |
|
21 | + * @return mixed |
|
22 | + */ |
|
23 | + public function queue(Queue $queue); |
|
24 | 24 | |
25 | - /** |
|
26 | - * Deliver the queued message after the given delay. |
|
27 | - * |
|
28 | - * @param \DateTimeInterface|\DateInterval|int $delay |
|
29 | - * @param \Illuminate\Contracts\Queue\Factory $queue |
|
30 | - * @return mixed |
|
31 | - */ |
|
32 | - public function later($delay, Queue $queue); |
|
25 | + /** |
|
26 | + * Deliver the queued message after the given delay. |
|
27 | + * |
|
28 | + * @param \DateTimeInterface|\DateInterval|int $delay |
|
29 | + * @param \Illuminate\Contracts\Queue\Factory $queue |
|
30 | + * @return mixed |
|
31 | + */ |
|
32 | + public function later($delay, Queue $queue); |
|
33 | 33 | |
34 | - /** |
|
35 | - * Set the recipients of the message. |
|
36 | - * |
|
37 | - * @param object|array|string $address |
|
38 | - * @param string|null $name |
|
39 | - * @return self |
|
40 | - */ |
|
41 | - public function cc($address, $name = null); |
|
34 | + /** |
|
35 | + * Set the recipients of the message. |
|
36 | + * |
|
37 | + * @param object|array|string $address |
|
38 | + * @param string|null $name |
|
39 | + * @return self |
|
40 | + */ |
|
41 | + public function cc($address, $name = null); |
|
42 | 42 | |
43 | - /** |
|
44 | - * Set the recipients of the message. |
|
45 | - * |
|
46 | - * @param object|array|string $address |
|
47 | - * @param string|null $name |
|
48 | - * @return $this |
|
49 | - */ |
|
50 | - public function bcc($address, $name = null); |
|
43 | + /** |
|
44 | + * Set the recipients of the message. |
|
45 | + * |
|
46 | + * @param object|array|string $address |
|
47 | + * @param string|null $name |
|
48 | + * @return $this |
|
49 | + */ |
|
50 | + public function bcc($address, $name = null); |
|
51 | 51 | |
52 | - /** |
|
53 | - * Set the recipients of the message. |
|
54 | - * |
|
55 | - * @param object|array|string $address |
|
56 | - * @param string|null $name |
|
57 | - * @return $this |
|
58 | - */ |
|
59 | - public function to($address, $name = null); |
|
52 | + /** |
|
53 | + * Set the recipients of the message. |
|
54 | + * |
|
55 | + * @param object|array|string $address |
|
56 | + * @param string|null $name |
|
57 | + * @return $this |
|
58 | + */ |
|
59 | + public function to($address, $name = null); |
|
60 | 60 | |
61 | - /** |
|
62 | - * Set the locale of the message. |
|
63 | - * |
|
64 | - * @param string $locale |
|
65 | - * @return $this |
|
66 | - */ |
|
67 | - public function locale($locale); |
|
61 | + /** |
|
62 | + * Set the locale of the message. |
|
63 | + * |
|
64 | + * @param string $locale |
|
65 | + * @return $this |
|
66 | + */ |
|
67 | + public function locale($locale); |
|
68 | 68 | |
69 | - /** |
|
70 | - * Set the name of the mailer that should be used to send the message. |
|
71 | - * |
|
72 | - * @param string $mailer |
|
73 | - * @return $this |
|
74 | - */ |
|
75 | - public function mailer($mailer); |
|
69 | + /** |
|
70 | + * Set the name of the mailer that should be used to send the message. |
|
71 | + * |
|
72 | + * @param string $mailer |
|
73 | + * @return $this |
|
74 | + */ |
|
75 | + public function mailer($mailer); |
|
76 | 76 | } |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | interface DeferrableProvider |
6 | 6 | { |
7 | - /** |
|
8 | - * Get the services provided by the provider. |
|
9 | - * |
|
10 | - * @return array |
|
11 | - */ |
|
12 | - public function provides(); |
|
7 | + /** |
|
8 | + * Get the services provided by the provider. |
|
9 | + * |
|
10 | + * @return array |
|
11 | + */ |
|
12 | + public function provides(); |
|
13 | 13 | } |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | interface MessageProvider |
6 | 6 | { |
7 | - /** |
|
8 | - * Get the messages for the instance. |
|
9 | - * |
|
10 | - * @return \Illuminate\Contracts\Support\MessageBag |
|
11 | - */ |
|
12 | - public function getMessageBag(); |
|
7 | + /** |
|
8 | + * Get the messages for the instance. |
|
9 | + * |
|
10 | + * @return \Illuminate\Contracts\Support\MessageBag |
|
11 | + */ |
|
12 | + public function getMessageBag(); |
|
13 | 13 | } |
@@ -7,5 +7,5 @@ |
||
7 | 7 | |
8 | 8 | interface ValidatedData extends Arrayable, ArrayAccess, IteratorAggregate |
9 | 9 | { |
10 | - // |
|
10 | + // |
|
11 | 11 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | interface Jsonable |
6 | 6 | { |
7 | - /** |
|
8 | - * Convert the object to its JSON representation. |
|
9 | - * |
|
10 | - * @param int $options |
|
11 | - * @return string |
|
12 | - */ |
|
13 | - public function toJson($options = 0); |
|
7 | + /** |
|
8 | + * Convert the object to its JSON representation. |
|
9 | + * |
|
10 | + * @param int $options |
|
11 | + * @return string |
|
12 | + */ |
|
13 | + public function toJson($options = 0); |
|
14 | 14 | } |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | interface Renderable |
6 | 6 | { |
7 | - /** |
|
8 | - * Get the evaluated contents of the object. |
|
9 | - * |
|
10 | - * @return string |
|
11 | - */ |
|
12 | - public function render(); |
|
7 | + /** |
|
8 | + * Get the evaluated contents of the object. |
|
9 | + * |
|
10 | + * @return string |
|
11 | + */ |
|
12 | + public function render(); |
|
13 | 13 | } |
@@ -6,97 +6,97 @@ |
||
6 | 6 | |
7 | 7 | interface MessageBag extends Arrayable, Countable |
8 | 8 | { |
9 | - /** |
|
10 | - * Get the keys present in the message bag. |
|
11 | - * |
|
12 | - * @return array |
|
13 | - */ |
|
14 | - public function keys(); |
|
9 | + /** |
|
10 | + * Get the keys present in the message bag. |
|
11 | + * |
|
12 | + * @return array |
|
13 | + */ |
|
14 | + public function keys(); |
|
15 | 15 | |
16 | - /** |
|
17 | - * Add a message to the bag. |
|
18 | - * |
|
19 | - * @param string $key |
|
20 | - * @param string $message |
|
21 | - * @return $this |
|
22 | - */ |
|
23 | - public function add($key, $message); |
|
16 | + /** |
|
17 | + * Add a message to the bag. |
|
18 | + * |
|
19 | + * @param string $key |
|
20 | + * @param string $message |
|
21 | + * @return $this |
|
22 | + */ |
|
23 | + public function add($key, $message); |
|
24 | 24 | |
25 | - /** |
|
26 | - * Merge a new array of messages into the bag. |
|
27 | - * |
|
28 | - * @param \Illuminate\Contracts\Support\MessageProvider|array $messages |
|
29 | - * @return $this |
|
30 | - */ |
|
31 | - public function merge($messages); |
|
25 | + /** |
|
26 | + * Merge a new array of messages into the bag. |
|
27 | + * |
|
28 | + * @param \Illuminate\Contracts\Support\MessageProvider|array $messages |
|
29 | + * @return $this |
|
30 | + */ |
|
31 | + public function merge($messages); |
|
32 | 32 | |
33 | - /** |
|
34 | - * Determine if messages exist for a given key. |
|
35 | - * |
|
36 | - * @param string|array $key |
|
37 | - * @return bool |
|
38 | - */ |
|
39 | - public function has($key); |
|
33 | + /** |
|
34 | + * Determine if messages exist for a given key. |
|
35 | + * |
|
36 | + * @param string|array $key |
|
37 | + * @return bool |
|
38 | + */ |
|
39 | + public function has($key); |
|
40 | 40 | |
41 | - /** |
|
42 | - * Get the first message from the bag for a given key. |
|
43 | - * |
|
44 | - * @param string|null $key |
|
45 | - * @param string|null $format |
|
46 | - * @return string |
|
47 | - */ |
|
48 | - public function first($key = null, $format = null); |
|
41 | + /** |
|
42 | + * Get the first message from the bag for a given key. |
|
43 | + * |
|
44 | + * @param string|null $key |
|
45 | + * @param string|null $format |
|
46 | + * @return string |
|
47 | + */ |
|
48 | + public function first($key = null, $format = null); |
|
49 | 49 | |
50 | - /** |
|
51 | - * Get all of the messages from the bag for a given key. |
|
52 | - * |
|
53 | - * @param string $key |
|
54 | - * @param string|null $format |
|
55 | - * @return array |
|
56 | - */ |
|
57 | - public function get($key, $format = null); |
|
50 | + /** |
|
51 | + * Get all of the messages from the bag for a given key. |
|
52 | + * |
|
53 | + * @param string $key |
|
54 | + * @param string|null $format |
|
55 | + * @return array |
|
56 | + */ |
|
57 | + public function get($key, $format = null); |
|
58 | 58 | |
59 | - /** |
|
60 | - * Get all of the messages for every key in the bag. |
|
61 | - * |
|
62 | - * @param string|null $format |
|
63 | - * @return array |
|
64 | - */ |
|
65 | - public function all($format = null); |
|
59 | + /** |
|
60 | + * Get all of the messages for every key in the bag. |
|
61 | + * |
|
62 | + * @param string|null $format |
|
63 | + * @return array |
|
64 | + */ |
|
65 | + public function all($format = null); |
|
66 | 66 | |
67 | - /** |
|
68 | - * Get the raw messages in the container. |
|
69 | - * |
|
70 | - * @return array |
|
71 | - */ |
|
72 | - public function getMessages(); |
|
67 | + /** |
|
68 | + * Get the raw messages in the container. |
|
69 | + * |
|
70 | + * @return array |
|
71 | + */ |
|
72 | + public function getMessages(); |
|
73 | 73 | |
74 | - /** |
|
75 | - * Get the default message format. |
|
76 | - * |
|
77 | - * @return string |
|
78 | - */ |
|
79 | - public function getFormat(); |
|
74 | + /** |
|
75 | + * Get the default message format. |
|
76 | + * |
|
77 | + * @return string |
|
78 | + */ |
|
79 | + public function getFormat(); |
|
80 | 80 | |
81 | - /** |
|
82 | - * Set the default message format. |
|
83 | - * |
|
84 | - * @param string $format |
|
85 | - * @return $this |
|
86 | - */ |
|
87 | - public function setFormat($format = ':message'); |
|
81 | + /** |
|
82 | + * Set the default message format. |
|
83 | + * |
|
84 | + * @param string $format |
|
85 | + * @return $this |
|
86 | + */ |
|
87 | + public function setFormat($format = ':message'); |
|
88 | 88 | |
89 | - /** |
|
90 | - * Determine if the message bag has any messages. |
|
91 | - * |
|
92 | - * @return bool |
|
93 | - */ |
|
94 | - public function isEmpty(); |
|
89 | + /** |
|
90 | + * Determine if the message bag has any messages. |
|
91 | + * |
|
92 | + * @return bool |
|
93 | + */ |
|
94 | + public function isEmpty(); |
|
95 | 95 | |
96 | - /** |
|
97 | - * Determine if the message bag has any messages. |
|
98 | - * |
|
99 | - * @return bool |
|
100 | - */ |
|
101 | - public function isNotEmpty(); |
|
96 | + /** |
|
97 | + * Determine if the message bag has any messages. |
|
98 | + * |
|
99 | + * @return bool |
|
100 | + */ |
|
101 | + public function isNotEmpty(); |
|
102 | 102 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | interface CanBeEscapedWhenCastToString |
6 | 6 | { |
7 | - /** |
|
8 | - * Indicate that the object's string representation should be escaped when __toString is invoked. |
|
9 | - * |
|
10 | - * @param bool $escape |
|
11 | - * @return $this |
|
12 | - */ |
|
13 | - public function escapeWhenCastingToString($escape = true); |
|
7 | + /** |
|
8 | + * Indicate that the object's string representation should be escaped when __toString is invoked. |
|
9 | + * |
|
10 | + * @param bool $escape |
|
11 | + * @return $this |
|
12 | + */ |
|
13 | + public function escapeWhenCastingToString($escape = true); |
|
14 | 14 | } |
@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | interface Htmlable |
6 | 6 | { |
7 | - /** |
|
8 | - * Get content as a string of HTML. |
|
9 | - * |
|
10 | - * @return string |
|
11 | - */ |
|
12 | - public function toHtml(); |
|
7 | + /** |
|
8 | + * Get content as a string of HTML. |
|
9 | + * |
|
10 | + * @return string |
|
11 | + */ |
|
12 | + public function toHtml(); |
|
13 | 13 | } |