OnFlushEventArgs::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
4
namespace Doctrine\ODM\CouchDB\Event;
5
6
class OnFlushEventArgs extends \Doctrine\Common\EventArgs
7
{
8
    private $documentManager;
9
10
    public function __construct($documentManager)
11
    {
12
        $this->documentManager = $documentManager;
13
    }
14
15
    /**
16
     * @return \Doctrine\ODM\CouchDB\DocumentManager
17
     */
18
    public function getDocumentManager()
19
    {
20
        return $this->documentManager;
21
    }
22
}
23