attributes->get('node'); throw_unless($node instanceof Node, UnexpectedValueException::class, 'The authenticated node is missing from the remote request.'); return $node; } }