public function __construct(RuntimeContextInterface $context, $filePath = '') { $this->invoker = $this->createInvoker(); $this->context = $context; $this->loader = $this->createLoader($filePath); if ($filePath !== '') { $this->loader->load(); } }