diff --git a/src/Symfony/Component/DomCrawler/Crawler.php b/src/Symfony/Component/DomCrawler/Crawler.php index 56a84f5773..4a92f9f930 100644 --- a/src/Symfony/Component/DomCrawler/Crawler.php +++ b/src/Symfony/Component/DomCrawler/Crawler.php @@ -25,7 +25,7 @@ class Crawler extends \SplObjectStorage /** * @var string The current URI or the base href value */ - private $uri; + protected $uri; /** * Constructor. @@ -704,7 +704,7 @@ class Crawler extends \SplObjectStorage return sprintf("concat(%s)", implode($parts, ', ')); } - private function getNode($position) + protected function getNode($position) { foreach ($this as $i => $node) { if ($i == $position) { @@ -717,7 +717,7 @@ class Crawler extends \SplObjectStorage // @codeCoverageIgnoreEnd } - private function sibling($node, $siblingDir = 'nextSibling') + protected function sibling($node, $siblingDir = 'nextSibling') { $nodes = array();