We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d7d7f commit 5127d6aCopy full SHA for 5127d6a
Document/RouteRepository.php
@@ -32,6 +32,9 @@ public function setPrefix($prefix)
32
$this->idPrefix = $prefix;
33
}
34
35
+ /**
36
+ * {@inheritDoc}
37
+ */
38
public function findByUrl($url)
39
{
40
try {
@@ -44,13 +47,4 @@ public function findByUrl($url)
44
47
return null;
45
48
46
49
-
- /**
- * Overwritten to set the prefix to allow the document to calculate its url
50
- */
51
- public function createDocument($node, array &$hints = array()) {
52
- $doc = parent::createDocument($node, $hints);
53
- $doc->setPrefix($this->idPrefix);
54
- return $doc;
55
- }
56
0 commit comments