Completed
Push — master ( 4e4cd8...063296 )
by Maksim
16s
created

PropelModelFooQuery   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A create() 0 4 1
1
<?php
2
namespace FOS\ElasticaBundle\Tests\Mocks;
3
4
class PropelModelFooQuery extends \ModelCriteria
5
{
6
    public static $latestCreatedInstance;
7
8
    public function __construct()
9
    {
10
        // no need to call parent constructor
11
    }
12
13
    public static function create()
14
    {
15
        return static::$latestCreatedInstance = new static();
16
    }
17
}
18