public function __construct(puzzle_message_ResponseInterface $delegate) { $this->_delegate = $delegate; $urlString = $this->_delegate->getEffectiveUrl(); if ($urlString !== null) { $puzzleUrl = puzzle_Url::fromString($urlString); $this->_effectiveUrl = new tubepress_url_impl_puzzle_PuzzleBasedUrl($puzzleUrl); } parent::__construct($this->_delegate); }