summaryrefslogtreecommitdiff
path: root/server/vendor/php-opencloud/common/src/Common/Resource/Updateable.php
blob: 228c496011b3c6a98ec03e756aea1649510628e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php declare(strict_types=1);

namespace OpenCloud\Common\Resource;

/**
 * Represents a resource that can be updated.
 *
 * @package OpenCloud\Common\Resource
 */
interface Updateable
{
    /**
     * Update the current resource with the configuration set out in the user options.
     *
     * @return void
     */
    public function update();
}