Completed
Pull Request — develop (#178)
by
unknown
09:34
created

Animation   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 3
c 2
b 0
f 0
lcom 1
cbo 0
dl 0
loc 21
ccs 0
cts 12
cp 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A addShape() 0 6 1
A getShapeCollection() 0 4 1
1
<?php
2
namespace PhpOffice\PhpPresentation\Slide;
3
4
class Animation
5
{
6
    private $shapeCollection = array();
7
   
8
    public function __construct()
9
    {
10
        
11
    }
12
    
13
    public function addShape($shape)
14
    {
15
        $this->shapeCollection[] = $shape;
16
        
17
        return $shape;
18
    }
19
    
20
    public function getShapeCollection()
21
    {
22
        return $this->shapeCollection;
23
    }   
24
}
25