Completed
Push — master ( 94d001...354cb1 )
by Kevin
04:53 queued 02:28
created

TitleTrait::assert()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
nc 1
1
<?php
2
3
namespace Magium\Assertions\Browser;
4
5
trait TitleTrait
6
{
7
8
    protected $title;
9
10
    public function setTitle($title)
11
    {
12
        $this->title = $title;
13
    }
14
15
    public function assertSelector($title)
16
    {
17
        $this->title = $title;
18
        $this->assert();
19
    }
20
21
    abstract function assert();
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
22
23
}
24