QueueingFactory.php 548B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace Illuminate\Contracts\Cookie;
  3. interface QueueingFactory extends Factory
  4. {
  5. /**
  6. * Queue a cookie to send with the next response.
  7. *
  8. * @param array $parameters
  9. * @return void
  10. */
  11. public function queue(...$parameters);
  12. /**
  13. * Remove a cookie from the queue.
  14. *
  15. * @param string $name
  16. */
  17. public function unqueue($name);
  18. /**
  19. * Get the cookies which have been queued for the next request.
  20. *
  21. * @return array
  22. */
  23. public function getQueuedCookies();
  24. }