pradosoft / prado

Prado - Component Framework for PHP
Other
186 stars 70 forks source link

#917 PRADO support for anonymous (unnamed/numeric) behaviors #920

Closed belisoful closed 1 year ago

belisoful commented 1 year ago

TComponent removes name error check and adds special empty/numeric name processing.

TBehaviorParameterLoader removes on null name error, sets the name to null when empty or numeric.

TBehaviorModule removes name error check and adds null/numeric name processing.

TBaseBehavior extends TApplicationComponent and doesn't listen.

TBaseBehavior allows numeric names to be different. So TClassBehavior can be an anonymous behavior.

With unit tests and PHP Doc.