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

PropelModelFooQuery::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
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