HighSpeaker/vendor/illuminate/contracts/Cookie/QueueingFactory.php

31 lines
619 B
PHP
Raw Permalink Normal View History

2022-12-24 19:40:40 +05:30
<?php
namespace Illuminate\Contracts\Cookie;
interface QueueingFactory extends Factory
{
/**
* Queue a cookie to send with the next response.
*
2024-01-31 19:45:08 +05:30
* @param mixed ...$parameters
2022-12-24 19:40:40 +05:30
* @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();
}