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

Faster version of Phalcon\DI using object handlers #1473

Merged
merged 6 commits into from Oct 30, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Deny serializaton
  • Loading branch information
sjinks committed Oct 29, 2013
commit 617911b343bc328d05043c79b0107f9f670fd263
2 changes: 2 additions & 0 deletions ext/di.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ PHALCON_INIT_CLASS(Phalcon_DI){
zend_class_implements(phalcon_di_ce TSRMLS_CC, 1, phalcon_diinterface_ce);

phalcon_di_ce->create_object = phalcon_di_ctor;
phalcon_di_ce->serialize = zend_class_serialize_deny;
phalcon_di_ce->unserialize = zend_class_unserialize_deny;

phalcon_di_object_handlers = *zend_get_std_object_handlers();
phalcon_di_object_handlers.read_dimension = phalcon_di_read_dimension;
Expand Down