Performs a deep clone of the file.
Description
This method ensures that the MimeType value object is cloned to prevent any shared references between the original and cloned file.
Source
public function __clone()
{
$this->mimeType = clone $this->mimeType;
}
Changelog
| Version | Description |
|---|---|
| 0.4.2 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.