Skip to content

Conversation

@mzf
Copy link

@mzf mzf commented May 3, 2017

#68

public function beforeRenderView(Event $event, ViewInterface $view)
{
$name = get_class($event->getSource()) . '::render: ' . basename($view->getActiveRenderPath());
$isViewSimpler = stripos(get_class($view), 'simple') !== false;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why isViewSimpler (with an "r") instead of isViewSimple? Typo?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And why don't you check the class via instanceof?

@fabfuel
Copy link
Owner

fabfuel commented May 16, 2017

Looks like the branch is outdated. Please update with develop

@sergeyklay
Copy link

@mzf Could you please rebase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants