CoreFiles by mySites.guru
ResetInterface.php30 lines, 999 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
b105805d3817743c1049a1239aa7ebe2
sha1
083d3c73735166445313176011c9c660baf03855
sha256
bc526c14c7e2c4b4aea4b2e51d444eb03a6e636167ca90f0738b2b88419051a6
<?php

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

namespace Symfony\Contracts\Service;

/**
 * Provides a way to reset an object to its initial state.
 *
 * When calling the "reset()" method on an object, it should be put back to its
 * initial state. This usually means clearing any internal buffers and forwarding
 * the call to internal dependencies. All properties of the object should be put
 * back to the same state it had when it was first ready to use.
 *
 * This method could be called, for example, to recycle objects that are used as
 * services, so that they can be used to handle several requests in the same
 * process loop (note that we advise making your services stateless instead of
 * implementing this interface when possible.)
 */
interface ResetInterface
{
    public function reset();
}

The same content is in 156 releases, Joomla 4.0.0-alpha10 to 5.1.0-alpha4. See them all, or every version of this file.