А
Size: a a a
А
СШ
NO
NO
NO
СП
ResponseFactoryInterface $responseFactory
в класс A.class A {
private B $b;
public function __construct(B $b) {
$this->b = $b;
}
}
class A {
private B $b;
private ResponseFactoryInterface $responseFactory;
public function __construct(B $b, ResponseFactoryInterface $responseFactory) {
$this->b = $b;
$this->responseFactory = $responseFactory;
}
}
АГ
АГ
СП
NO
СП
NO
Д
A
В
Д
DS
RM
DS
В