```php
class InvalidArgumentException ... {
    public static function invalidUser($user) {
        $userType = is_object($user) ? get_class($user) : gettype($user);
        return new static(sprintf('%s does not implement BaconUser\Entity\UserInterface', $userType));
    }
```