Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

[WIP] Extracting logic from twig pagerfanta extension #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pablodip
Copy link
Contributor

@pablodip pablodip commented Jan 4, 2014

No description provided.


public function __invoke($page)
{
$propertyAccessor = PropertyAccess::getPropertyAccessor();
Copy link
Contributor

Choose a reason for hiding this comment

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

you should create it in the constructor rather than on each invocation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants