title: Symfony4 - is there possibility to call class method from Security annotation?
body: <p>do you know if there is possibility to call some class static method from @Security annotation in Symfony4?</p>
  
  <p>What I need is something like this:</p>
  
  <pre><code>@Security("is_granted(constant('App\\Voter\\ActivePluginVoter::ATTRIBUTE'), App\\Plugin\\UserManagement\\UserManagementPlugin::getRole())")
  </code></pre>