dbRecord   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 9
Bugs 2 Features 4
Metric Value
c 9
b 2
f 4
dl 0
loc 7
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace samson\activerecord;
3
4
use samsonframework\orm\Record;
5
6
/**
7
 * Отражение записи БД в PHP
8
 * @author Vitaly Iegorov <[email protected]>
9
 * @author Nikita Kotenko <[email protected]>
10
 * @deprecated use \samsonframework\orm\Record
11
 */
12
class dbRecord extends Record
0 ignored issues
show
Coding Style introduced by
This class is not in CamelCase format.

Classes in PHP are usually named in CamelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.

Thus the name database provider becomes DatabaseProvider.

Loading history...
13
{
14
    public function __construct($id = false, $className = null, $database = null)
15
    {
16
        parent::__construct($database);
17
    }
18
}
19