AppserverIo\Appserver\Core\InitialContext::setStorage PHP Method

setStorage() public method

Returns the storage instance.
public setStorage ( AppserverIo\Storage\StorageInterface $storage ) : AppserverIo\Storage\StorageInterface
$storage AppserverIo\Storage\StorageInterface A storage instance
return AppserverIo\Storage\StorageInterface The storage instance
    public function setStorage(StorageInterface $storage)
    {
        return $this->storage = $storage;
    }