newInstance() public method

Creates a new instance of the mapped class, without invoking the constructor.
public newInstance ( ) : object
return object
Beispiel #1
0
 /** {@inheritdoc} */
 public function newInstance()
 {
     return $this->classMetadata->newInstance();
 }