I want to use WebinoImageThumb moudle in my custom helper , but when I want to create an instance of this module in helper factories I got this error :
Zend\View\HelperPluginManager::get was unable to fetch or create an instance for WebinoImageThumb
But I can access to an instance in my controller without any problem.
This is the code I get error in :
public function getViewHelperConfig()
{
return array(
'factories' => array(
'ImageLib' => function ($sm)
{
$WebinoImageThumb = $sm->get('WebinoImageThumb');
return new \Base\view\helper\ImageLib($WebinoImageThumb);
}
)
);
}