Don't use serialize for the user role Symfony
<p>I have a project and a Symfony3 Silex 2 API that is based on the database created with SF3.
The problem arises because of the ROLE field in the database, in effect symfony3 stores in the database the user roles via serialize, flint or using a string.</p>

<p>Why Symfony serialize and flint right?
How to solve the problem because Silex does not manage the roles serialize?</p>

<p>Role field BDD:
Silex:</p>

<pre><code>ROLE_MODO,ROLE_SUPER_ADMIN
</code></pre>

<p>SF:</p>

<pre><code>a:2:{i:0;s:9:"ROLE_MODO";i:1;s:16:"ROLE_SUPER_ADMIN";}
</code></pre>

<p>Thank you.</p>