12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace Gedmo\Loggable\Mapping\Event;
- use Gedmo\Mapping\Event\AdapterInterface;
- /**
- * Doctrine event adapter interface
- * for Loggable behavior
- *
- * @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
- * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
- */
- interface LoggableAdapter extends AdapterInterface
- {
- /**
- * Get default LogEntry class used to store the logs
- *
- * @return string
- */
- function getDefaultLogEntryClass();
- /**
- * Get new version number
- *
- * @param object $meta
- * @param object $object
- * @return integer
- */
- function getNewVersion($meta, $object);
- }
|