src/UthandoNewsletter/View/Strategy/NewsletterStrategy.php
public function selectRenderer(ViewEvent $e)
    {
        $model = $e->getModel();

        if ($model instanceof NewsletterViewModel) {
            return $this->renderer;
        }

        return false;
    }
public function selectRenderer(ViewEvent $e)
    {
        $model = $e->getModel();

        if ($model instanceof NewsletterViewModel) {
            return $this->renderer;
        }

        return false;
    }
public function selectRenderer ( ViewEvent $ e ) { $ model = $ e -> getModel ( ) ; if ( $ model instanceof NewsletterViewModel ) { return $ this -> renderer ; } return false ; }
Detect if we should use the NewsletterRenderer based on model type

@param  ViewEvent $e
@return null|NewsletterRenderer
Detect if we should use the NewsletterRenderer based on model type