Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test protected member access lazy loading (ghost objects) #276

Closed
Ocramius opened this issue Jan 21, 2016 · 1 comment
Closed

Test protected member access lazy loading (ghost objects) #276

Ocramius opened this issue Jan 21, 2016 · 1 comment
Assignees
Milestone

Comments

@Ocramius
Copy link
Owner

Given following code:

class Foo
{
    private $bar;
    protected $baz;
    public $tab;
    public function getBar(self $other) { return $other->bar; }
    public function getBaz(self $other) { return $other->baz; }
    public function getTab(self $other) { return $other->tab; }
}

Any access to these methods, given a non-initialized ghost object, should cause that object to lazy-load.

This should already work, but needs to be tested.

@Ocramius Ocramius self-assigned this Jan 21, 2016
@Ocramius Ocramius added this to the 2.0.0 milestone Jan 21, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
…alized (as we are extracting data from the parameter, not the callee)
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
…works only with public properties (for now)
Ocramius added a commit that referenced this issue Jan 22, 2016
…access to private properties in friend classes)
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
… interacted with from a friend object's perspective
Ocramius added a commit that referenced this issue Jan 22, 2016
…cted with from a friend object's perspective
Ocramius added a commit that referenced this issue Jan 22, 2016
…cted with from a friend object's perspective
Ocramius added a commit that referenced this issue Jan 22, 2016
…cted with from a friend object's perspective
Ocramius added a commit that referenced this issue Jan 22, 2016
…re interacted with from a friend object scope
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
Ocramius added a commit that referenced this issue Jan 22, 2016
@Ocramius
Copy link
Owner Author

Closing here: handled in #277

Ocramius added a commit that referenced this issue Jan 22, 2016
…s-via-friend-objects

Fix/#276 protected member access via friend objects
malukenho pushed a commit that referenced this issue Jan 29, 2016
…-with-skipped-properties

#276 - testing friend object access against skipped properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant