Skip to content

Commit 5127d6a

Browse files
committed
removing as it never made any sense. ref symfony#15
1 parent 56d7d7f commit 5127d6a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Document/RouteRepository.php

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public function setPrefix($prefix)
3232
$this->idPrefix = $prefix;
3333
}
3434

35+
/**
36+
* {@inheritDoc}
37+
*/
3538
public function findByUrl($url)
3639
{
3740
try {
@@ -44,13 +47,4 @@ public function findByUrl($url)
4447
return null;
4548
}
4649
}
47-
48-
/**
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-
}
5650
}

0 commit comments

Comments
 (0)