PHP code example of tourze / doctrine-sensitive-tag-bundle
1. Go to this page and download the library: Download tourze/doctrine-sensitive-tag-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tourze / doctrine-sensitive-tag-bundle example snippets
use Tourze\DoctrineSensitiveTagBundle\Model\SensitiveTagAwareInterface;
class User implements SensitiveTagAwareInterface
{
// ...
public function isResourceSensitive(): bool
{
// Determine if this entity contains sensitive data
return true;
}
}