Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Classes now can find out in what namespace they where created #18

Merged
merged 2 commits into from
Sep 8, 2011

Conversation

edorian
Copy link
Sponsor Collaborator

@edorian edorian commented Sep 7, 2011

$class->getPackage()['namespace'] now contains the namespace the class was defined in like you said it should on irc.

Added tests for all the code i touched.

…the namespace 'found out what I am named' code. Added tests for everything that changed
…sh while writing the tests. That ofc changed some things. Adapted the testsuite and reverted the unneeded changes
@edorian
Copy link
Sponsor Collaborator Author

edorian commented Sep 7, 2011

Fixed the outstanding issues with the tests after realizing that i, once again, started the namespace \Definition\With\A\Backslash.

Ofc thats wrong. The diff got even smaller ;)

sebastianbergmann added a commit that referenced this pull request Sep 8, 2011
Classes now can find out in what namespace they where created.
@sebastianbergmann sebastianbergmann merged commit 9bb55ae into sebastianbergmann:master Sep 8, 2011
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