/** * Create new image info. * * @param string image The image name; default is <code>null</code>. * @param string alt The alt text; default is an empty string. */ public function __construct($image = null, $alt = '') { parent::__construct($image, $alt); $this->image = $image; $this->formattedParameter = ''; $plugin = Runtime::getContainer()->get('pluginService')->getPluginForId('imageHandler2'); }