Image does not seem to conform to the naming convention (^Abstract).
This check examines a number of code elements and verifies that they conform
to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties,
methods, parameters, interfaces, classes, exceptions and special methods.
Loading history...
20
{
21
/**
22
* @var mixed
23
*/
24
protected $id;
25
26
/**
27
* @var string
28
*/
29
protected $type;
30
31
/**
32
* @var \SplFileInfo
33
*/
34
protected $file;
35
36
/**
37
* @var string
38
*/
39
protected $path;
40
41
/**
42
* @var object
43
*/
44
protected $owner;
45
46
/**
47
* @return int
48
*/
49
public function getId()
50
{
51
return $this->id;
52
}
53
54
/**
55
* {@inheritdoc}
56
*/
57
public function getType(): ?string
58
{
59
return $this->type;
60
}
61
62
/**
63
* {@inheritdoc}
64
*/
65
public function setType(?string $type): void
66
{
67
$this->type = $type;
68
}
69
70
/**
71
* {@inheritdoc}
72
*/
73
public function getFile(): ?\SplFileInfo
74
{
75
return $this->file;
76
}
77
78
/**
79
* {@inheritdoc}
80
*/
81
public function setFile(?\SplFileInfo $file): void
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.