Blame view

public/vendor/illuminate/contracts/Cookie/QueueingFactory.php 616 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  <?php
  
  namespace Illuminate\Contracts\Cookie;
  
  interface QueueingFactory extends Factory
  {
      /**
       * Queue a cookie to send with the next response.
       *
       * @param  array  $parameters
       * @return void
       */
      public function queue(...$parameters);
  
      /**
       * Remove a cookie from the queue.
       *
       * @param  string  $name
       * @param  string|null  $path
       * @return void
       */
      public function unqueue($name, $path = null);
  
      /**
       * Get the cookies which have been queued for the next request.
       *
       * @return array
       */
      public function getQueuedCookies();
  }