<?php

namespace EHEncryptionBundle\Annotation;

use Doctrine\Common\Annotations\Annotation;

/**
 * @Annotation
 * @Target("CLASS")
 */
final class EncryptedFile
{
    public $enabled = true;

    public $mode;
}

<?php

namespace EHEncryptionBundle\Annotation;

use Doctrine\Common\Annotations\Annotation;
use EHEncryptionBundle\Service\EncryptionService;

/**
 * @Annotation
 * @Target("CLASS")
 */
final class EncryptedFile
{
    public $enabled = true;

    public $mode = EncryptionService::MODE_PER_USER_SHAREABLE;
}

Document and file encryption changes
Document and file encryption changes
