Completed
Pull Request — develop (#315)
by
unknown
17:27
created

AbstractIdentifiableModificationDateAwareEntity::setDateCreated()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 5

Duplication

Lines 8
Ratio 100 %

Importance

Changes 0
Metric Value
dl 8
loc 8
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 5
nc 2
nop 1
1
<?php
2
/**
3
 * YAWIK
4
 *
5
 * @filesource
6
 * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
 * @license   MIT
8
 */
9
10
/** Core Entities */
11
namespace Core\Entity;
12
13
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
14
15
/**
16
 * Abstract Identifiable Modification Date Aware Entity
17
 *
18
 * @author Mathias Gelhausen <[email protected]>
19
 * @author Miroslav Fedeleš <[email protected]>
20
 * @ODM\MappedSuperclass @ODM\HasLifecycleCallbacks
21
 */
22
abstract class AbstractIdentifiableModificationDateAwareEntity extends AbstractIdentifiableEntity implements ModificationDateAwareEntityInterface
23
{
24
    
25
    use ModificationDateAwareEntityTrait;
26
}
27