istic-openstack/server/vendor/php-opencloud/common/src/Common/Resource/Creatable.php
2016-03-09 15:36:02 +01:00

19 lines
368 B
PHP

<?php
namespace OpenCloud\Common\Resource;
/**
* Represents a resource that can be created.
*
* @package OpenCloud\Common\Resource
*/
interface Creatable
{
/**
* Create a new resource according to the configuration set in the options.
*
* @param array $userOptions
* @return self
*/
public function create(array $userOptions);
}