Completed
Pull Request — develop (#147)
by Wachter
14:07
created

getDeclaredChildNodeDefinitions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of Sulu.
5
 *
6
 * (c) MASSIVE ART WebServices GmbH
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Sulu\Bundle\ArticleBundle\Document\Initializer;
13
14
use PHPCR\NodeType\NodeTypeDefinitionInterface;
15
16
/**
17
 * Node type for article-page phpcr-nodes.
18
 */
19
class ArticlePageNodeType implements NodeTypeDefinitionInterface
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function getName()
25
    {
26
        return 'sulu:articlepage';
27
    }
28
29
    /**
30
     * {@inheritdoc}
31
     */
32
    public function getDeclaredSupertypeNames()
33
    {
34
        return [
35
            'sulu:article',
36
        ];
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function isAbstract()
43
    {
44
        return false;
45
    }
46
47
    /**
48
     * {@inheritdoc}
49
     */
50
    public function isMixin()
51
    {
52
        return true;
53
    }
54
55
    /**
56
     * {@inheritdoc}
57
     */
58
    public function hasOrderableChildNodes()
59
    {
60
        return false;
61
    }
62
63
    /**
64
     * {@inheritdoc}
65
     */
66
    public function isQueryable()
67
    {
68
        return false;
69
    }
70
71
    /**
72
     * {@inheritdoc}
73
     */
74
    public function getPrimaryItemName()
75
    {
76
        return;
77
    }
78
79
    /**
80
     * {@inheritdoc}
81
     */
82
    public function getDeclaredPropertyDefinitions()
83
    {
84
        return [];
85
    }
86
87
    /**
88
     * {@inheritdoc}
89
     */
90
    public function getDeclaredChildNodeDefinitions()
91
    {
92
        return [];
93
    }
94
}
95