index/src/ICloneable.php

19 lines
377 B
PHP
Raw Normal View History

2022-09-13 13:13:11 +00:00
<?php
// ICloneable.php
// Created: 2021-04-26
// Updated: 2021-05-12
namespace Index;
/**
* Provides an interface for creating a clone of an object in a controlled manner.
*/
interface ICloneable {
/**
* Create a new object that is a copy of the current instance.
*
* @return mixed A copy of the current instance.
*/
function clone(): mixed;
}