Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/demo.cartinsight.co/vendor/predis/predis/src/Configuration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/demo.cartinsight.co/vendor/predis/predis/src/Configuration/OptionsInterface.php
<?php

/*
 * This file is part of the Predis package.
 *
 * (c) Daniele Alessandri <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Predis\Configuration;

use Predis\Command\Processor\ProcessorInterface;
/**
 * @property-read callable                    $aggregate   Custom aggregate connection initializer
 * @property-read callable                    $cluster     Aggregate connection initializer for clustering
 * @property-read Connection\FactoryInterface $connections Connection factory for creating new connections
 * @property-read bool                        $exceptions  Toggles exceptions in client for -ERR responses
 * @property-read ProcessorInterface          $prefix      Key prefixing strategy using the supplied string as prefix
 * @property-read Command\FactoryInterface    $commands    Command factory for creating Redis commands
 * @property-read callable                    $replication Aggregate connection initializer for replication
 *
 * @author Daniele Alessandri <[email protected]>
 */
interface OptionsInterface
{
    /**
     * Returns the default value for the given option.
     *
     * @param string $option Name of the option
     *
     * @return mixed|null
     */
    public function getDefault($option);

    /**
     * Checks if the given option has been set by the user upon initialization.
     *
     * @param string $option Name of the option
     *
     * @return bool
     */
    public function defined($option);

    /**
     * Checks if the given option has been set and does not evaluate to NULL.
     *
     * @param string $option Name of the option
     *
     * @return bool
     */
    public function __isset($option);

    /**
     * Returns the value of the given option.
     *
     * @param string $option Name of the option
     *
     * @return mixed|null
     */
    public function __get($option);
}

Spamworldpro Mini