protected function getUnlockValue($value) { if ($value) { throw new AttributeConverterException('An account can only be unlocked, not locked.'); } return '0'; }