public function __construct(puzzle_Url $delegate) { $this->_delegateUrl = $delegate; if ($this->_delegateUrl->getQuery()) { $this->_query = new tubepress_url_impl_puzzle_PuzzleBasedQuery($this->_delegateUrl->getQuery()); } }