name === $expectedCase) { return $this === $case; } } throw new \BadMethodCallException("Method {$method} does not exist on " . self::class); } return true; } }