Code Duplication    Length = 8-8 lines in 2 locations

src/Model/ClassAnnotations.php 2 locations

@@ 152-159 (lines=8) @@
149
        return $this->classDocType;
150
    }
151
152
    public function getClassRdfType()
153
    {
154
        if (!$this->classRdfType) {
155
            $rdfType = $this->getAnnotations("rdftype", "{HOST}/rdf/class/{CLASS}");
156
            $this->classRdfType = $this->replaceVars($this->getClassName(), $rdfType);
157
        }
158
        return $this->classRdfType;
159
    }
160
161
    public function getClassRdfAbout()
162
    {
@@ 161-168 (lines=8) @@
158
        return $this->classRdfType;
159
    }
160
161
    public function getClassRdfAbout()
162
    {
163
        if (!$this->classRdfAbout) {
164
            $rdfAbout = $this->getAnnotations("rdfabout", "{HOST}/rdf/instance/{CLASS}/{GetID()}");
165
            $this->classRdfAbout = $this->replaceVars($this->getClassName(), $rdfAbout);
166
        }
167
        return $this->classRdfAbout;
168
    }
169
170
    public function getClassDefaultPrefix()
171
    {