ContainerInterface
last analyzed

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

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

5 Methods

Rating   Name   Duplication   Size   Complexity  
getConstants() 0 1 ?
getFunctions() 0 1 ?
getClasses() 0 1 ?
getInterfaces() 0 1 ?
getTraits() 0 1 ?
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * This file is part of phpDocumentor.
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @author    Mike van Riel <[email protected]>
11
 * @copyright 2010-2018 Mike van Riel / Naenius (http://www.naenius.com)
12
 * @license   http://www.opensource.org/licenses/mit-license.php MIT
13
 * @link      http://phpdoc.org
14
 */
15
16
namespace phpDocumentor\Descriptor\Interfaces;
17
18
use phpDocumentor\Descriptor\Collection;
19
20
/**
21
 * Interface representing the common interface for all elements that can contain sub-elements.
22
 */
23
interface ContainerInterface
24
{
25
    /**
26
     * @return Collection
27
     */
28
    public function getConstants();
29
30
    /**
31
     * @return Collection
32
     */
33
    public function getFunctions();
34
35
    /**
36
     * @return Collection
37
     */
38
    public function getClasses();
39
40
    /**
41
     * @return Collection
42
     */
43
    public function getInterfaces();
44
45
    /**
46
     * @return Collection
47
     */
48
    public function getTraits();
49
}
50