master

laravel/framework

Last updated at: 29/12/2023 09:24

ExistenceAwareInterface.php

TLDR

This file contains the definition of an interface called ExistenceAwareInterface in the Illuminate\Session namespace. The interface declares one method called setExists which is used to set the existence state for the session.

Methods

setExists($value)

This method sets the existence state for the session. It takes a boolean value as a parameter and does not return anything. The method is declared in the ExistenceAwareInterface interface.

Classes

<?php

namespace Illuminate\Session;

interface ExistenceAwareInterface
{
    /**
     * Set the existence state for the session.
     *
     * @param  bool  $value
     * @return \SessionHandlerInterface
     */
    public function setExists($value);
}