ElementHistory [ * 'new' => [ * ... * ], * 'old' => [ * ... * ] * ] * ] * * @return array */ public function getAll(); /** * Register operation. * * @param ElementInterface|object $dtoObject * @param string $operation * @param ElementInterface $oldDtoObject * @return void */ public function register( ElementInterface $dtoObject, $operation, ElementInterface $oldDtoObject = null ); }