Re: I want to provide a DI container as PHP ext
| From: | Saki Takamachi | Date: | Thu, 28 Mar 2024 13:35:27 +0000 |
| Subject: | Re: I want to provide a DI container as PHP ext | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-17581@lists.php.net to get a copy of this message | ||
Hi David,
> Quick little remark, do you plan to implement all in pdi.c or do you plan to spread it ? Was
> just wondering if you need to expose macros such as PDI_FROM_OBJ/ZVAL/…
> Otherwise, agreed with earlier comment, 'pdi' could mean anything :)
At first I was planning to split it into several files, but it looks like it will require less code
than I expected. Unless the amount of code increases significantly, I plan to consolidate everything
into pdi.c. In that case, some macros should be moved to pdi.c as you mentioned.
Thanks for your feedback!
Regards.
Saki