/** * @param string $name * @param array $arguments * @return null * @throws \Exception * @throws \RuntimeException */ public function __call($name, $arguments) { try { return parent::__call($name, $arguments); } catch (\RuntimeException $e) { if ($this->throwExceptions) { throw $e; } } }