Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sokil
Mongo
Structure
__clone
Sokil\Mongo\Structure::__clone PHP Method
Structure Class Documentation
Show file
Open project: sokil/php-mongo
__clone()
final
public
method
Cloning not allowed because cloning of object not clone related aggregates of this object, so cloned object has links to original aggregates. This is difficult to handle.
final
public
__clone
( )
public final function __clone() { throw new \RuntimeException('Cloning not allowed'); }
Structure
__clone
__construct
__get
__isset
__set
addError
addErrors
addValidatorNamespace
append
apply
clearErrors
clearTriggeredErrors
get
getErrors
getModifiedFields
getObject
getObjectList
getOriginalData
getScenario
getValidatorClassNameByRuleName
has
hasErrors
isEmbeddedDocument
isModified
isScenario
isValid
jsonSerialize
merge
mergePartial
mergeUnmodified
mergeUnmodifiedPartial
prepareToStore
replace
reset
rules
set
setDataReference
setNoScenario
setScenario
toArray
triggerError
triggerErrors
unsetField