Trying to get the view object from a view helper so I can render a certain partial. but All I get is NULL here is the code namespace App\Form\View\Helper;
use Zend\Form\View\Helper\AbstractHelper;
use Zend\Form\View\Helper\FormInput;
use Zend\Form\ElementInterface;
class FormDate2 extends AbstractHelper
{
protected $script = 'element-decorators/date-picker';
public function render(ElementInterface $element, $formType = null, array $displayOptions = array())
{
echo '<pre>';var_dump($this->getView());echo '</pre>';die();
}
}