init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
28
vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Loggable.php
vendored
Normal file
28
vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Loggable.php
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace Gedmo\Loggable;
|
||||
|
||||
/**
|
||||
* This interface is not necessary but can be implemented for
|
||||
* Domain Objects which in some cases needs to be identified as
|
||||
* Loggable
|
||||
*
|
||||
* @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
interface Loggable
|
||||
{
|
||||
// this interface is not necessary to implement
|
||||
|
||||
/**
|
||||
* @gedmo:Loggable
|
||||
* to mark the class as loggable use class annotation @gedmo:Loggable
|
||||
* this object will contain now a history
|
||||
* available options:
|
||||
* logEntryClass="My\LogEntryObject" (optional) defaultly will use internal object class
|
||||
* example:
|
||||
*
|
||||
* @gedmo:Loggable(logEntryClass="My\LogEntryObject")
|
||||
* class MyEntity
|
||||
*/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue