EntityMapper::isTransient()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace LaravelDoctrine\Fluent\Mappers;
4
5
final class EntityMapper extends AbstractMapper
6
{
7
    /**
8
     * Returns whether the class with the specified name should have its metadata loaded.
9
     * This is only the case if it is either mapped as an Entity or a MappedSuperclass.
10
     *
11
     * @return bool
12
     */
13 2
    public function isTransient()
14
    {
15 2
        return false;
16
    }
17
}
18