Item::isDir()
last analyzed

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 IQParts\Content\Object;
4
5
/**
6
 * Class Item
7
 * @package IQParts\Content\Object
8
 */
9
abstract class Item
10
{
11
    /**
12
     * @return bool
13
     */
14
    abstract function isDir(): bool;
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...
15
16
    /**
17
     * @return bool
18
     */
19
    abstract function isFile(): bool;
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...
20
}