roman-kulish

Results comments of roman-kulish

There is another call to undocumented "initialize" in ext/mvc/collection.c, line 119

Some more undocumented methods: Phalcon\Mvc\Model: - beforeSave() - beforeUpdate() - beforeCreate() - afterSave() - afterCreate() - afterUpdate() - beforeValidation() - beforeValidationOnCreate() - beforeValidationOnUpdate() - onValidationFails() - afterValidationOnCreate() - afterValidationOnUpdate() -...

Could they be added? If there references to them in documentation, it should be the same in API.

Make those methods to accept a closure as a parameter :-) Even if they are not documented, there is nothing to prevent from calling those methods. They can have empty...

This one works for me. Do you terminate execution after sending your response? Otherwise you application may try to re-send it and then fails somewhere. ``` use Phalcon\Http\Response as HttpResponse;...

It won't terminate execution itself. It will give you a chance to finalize your tasks, close connections, free resources etc. You should explicitly exit if you have nothing more to...

OK, your answer is accepted. But it is just to remind you that PHP arrays are hash maps, Phalcon\Config implements ArrayAccess and so it is expected behaviour to be a...

Then it should be highlighted in documentation and/or API Docs. The following behaviour is not expected and may be harmful in the following cases: - When integrating with 3rd party...