AbstractMediaInformation::setTitle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

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 3
nc 1
nop 1
1
<?php
2
/*
3
 * This file is part of the Stinger Media Parser package.
4
 *
5
 * (c) Oliver Kotte <[email protected]>
6
 * (c) Florian Meyer <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace StingerSoft\MediaParsingBundle\Parser\Information;
13
14
use StingerSoft\MediaParsingBundle\Parser\MediaInformationInterface;
15
16
abstract class AbstractMediaInformation implements MediaInformationInterface {
17
18
	protected $title;
19
20
	protected $mimeType;
21
22
	protected $filePath;
23
24
	protected $fileSize;
25
26
	protected $lastModified;
27
28
29
	public function getTitle(){
30
		return $this->title;
31
	}
32
33
	public function setTitle($title){
34
		$this->title = $title;
35
		return $this;
36
	}
37
38
	public function getMimeType(){
39
		return $this->mimeType;
40
	}
41
42
	public function setMimeType($mimeType){
43
		$this->mimeType = $mimeType;
44
		return $this;
45
	}
46
47
	public function getFilePath(){
48
		return $this->filePath;
49
	}
50
51
	public function setFilePath($filePath){
52
		$this->filePath = $filePath;
53
		return $this;
54
	}
55
56
	public function getFileSize(){
57
		return $this->fileSize;
58
	}
59
60
	public function setFileSize($fileSize){
61
		$this->fileSize = $fileSize;
62
		return $this;
63
	}
64
65
	public function getLastModified(){
66
		return $this->lastModified;
67
	}
68
69
	public function setLastModified(\DateTime $lastModified){
70
		$this->lastModified = $lastModified;
71
		return $this;
72
	}
73
}
74