title: \Imagick not loaded on the Symfony2 command line
body: <p>In an Symfony2 controller I'm processing some images that belong to a product. When the images are added to a product the images are cropped with Imagick. This is done in the Entity of that product with the following code:</p>
  
  <pre><code>$image = new \Imagick( $imageUrl );
  </code></pre>
  
  <p>This works fine in the controller. But now I'm moving the code to the Symfony Command so it can be run from the command line. Only I'm getting the error that Imagick is not loaded. </p>
  
  <blockquote>
    <p>[Symfony\Component\Debug\Exception\ClassNotFoundException]<br>
      Attempted to load class "Imagick" from the global namespace.<br>
      Did you forget a "use" statement? </p>
  </blockquote>
  
  <p>I though because of using the / in front it was used from the global namespace. Or is the global namespace not know in the command section of Symfony? </p>