nette/nette — comment on commit 9abe2a5e9874a59012b52203689ce43c8322a160
File:  line 0
By JanTvrdik:

Hmm… having a method addParam or getParam which returns an object Parameter is a bit strange. But not much. Writing

$param = new Parameter('...');
$method->addParam($param);

seems natural to me.

Regarding config.neon: I don't think that it would be a problem to allow both "params" and "parameters" (one will be alias for another).

I also agree with @hrach that it is not a good idea to do such heavy BC breaks before releasing stable. We may reconsider this again after releasing 2.0 stable but now is not even a good time to think about such things.