<?php class A { protected string $context; public function run() { assert( $this->context !== null, 'Context must be set before run() is called' ); } } (new A())->run();
You have javascript disabled. You will not be able to edit any code.