Re: [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface
| From: | Dan Ackroyd | Date: | Sat, 29 Jul 2017 10:13:52 +0000 |
| Subject: | Re: [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100096@lists.php.net to get a copy of this message | ||
On 28 July 2017 at 07:40, Andrew Nester <newaltgroup@bk.ru> wrote:
> Hello!
>
> the only way to add some custom classes and behavior is to approach this is by subclassing PDO
> and PDOStatement.
Please could you explicitly say when this is a problem, or what using
an interface allows?
I can imagine possible scenarios, but the discussion would be clearer
if you gave concrete examples.
cheers
Dan