master

laravel/framework

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

DatabasePresenceVerifierInterface.php

TLDR

This file is an interface file in the Illuminate\Validation namespace. It defines the DatabasePresenceVerifierInterface, which extends the PresenceVerifierInterface. It includes a method setConnection that sets the connection to be used.

Methods

setConnection

This method sets the connection to be used.

Classes

There are no classes in this file.

<?php

namespace Illuminate\Validation;

interface DatabasePresenceVerifierInterface extends PresenceVerifierInterface
{
    /**
     * Set the connection to be used.
     *
     * @param  string  $connection
     * @return void
     */
    public function setConnection($connection);
}