Completed
Push — master ( 770316...74fc07 )
by Jeroen
09:08 queued 02:44
created

HasPagePartsInterface

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
getId() 0 1 ?
getPagePartAdminConfigurations() 0 1 ?
1
<?php
2
3
namespace  Kunstmaan\PagePartBundle\Helper;
4
5
use Kunstmaan\PagePartBundle\PagePartAdmin\PagePartAdminConfiguratorInterface;
6
7
/**
8
 * An interface for something that contains pageparts
9
 */
10
interface HasPagePartsInterface
11
{
12
    public function getId();
0 ignored issues
show
Documentation introduced by
For interfaces and abstract methods it is generally a good practice to add a @return annotation even if it is just @return void or @return null, so that implementors know what to do in the overridden method.

For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a @return doc comment to communicate to implementors of these methods what they are expected to return.

Loading history...
13
14
    /**
15
     * @return PagePartAdminConfiguratorInterface[]
16
     */
17
    public function getPagePartAdminConfigurations();
18
}
19