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

Config before the first _enter #48

Closed
tanakahisateru opened this issue Jan 6, 2012 · 2 comments
Closed

Config before the first _enter #48

tanakahisateru opened this issue Jan 6, 2012 · 2 comments
Assignees
Milestone

Comments

@tanakahisateru
Copy link
Owner

If considering test as independent of hook implementation, we need switchable configuration parsed before the 1st _enter.php evaluated.

@ghost ghost assigned tanakahisateru Jan 13, 2012
@tanakahisateru
Copy link
Owner Author

#30 depends on this feature. It should be able to switch environments for test and production.

tanakahisateru added a commit that referenced this issue Jan 16, 2012
Sorry only real app based tests because of it depends on file system outside of test/unit.
tanakahisateru added a commit that referenced this issue Jan 16, 2012
This method can access internal structure recursively by one expression.
@tanakahisateru
Copy link
Owner Author

Pinoco::config() added. This method is expected to call in _gateway.php before run().
You can create attributes easily before dispatch process. It supports *.php, *.ini and plain array to load.

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

No branches or pull requests

1 participant