DS
https://github.com/yiiliveext/yii-demo/tree/exp
Size: a a a
DS
В
strict
нерабочий в принципе :)DS
strict
нерабочий в принципе :)В
В
[Мне кажется, это избыточно. При отсутствии сложного определения должно хватать верхней строчки.
EngineMarkOne::class => EngineMarkTwo::class,
EngineMarkTwo::class => ['__class' => EngineMarkTwo::class],
],
DS
EngineMarkOne::class => Reference::to(EngineMarkTwo::class)
В
EngineMarkOne::class => Reference::to(EngineMarkTwo::class)
EngineMarkTwo
:private function buildInternal(string $id)
{
if (!isset($this->definitions[$id])) {
if (!$this->strictMode) {
return $this->buildPrimitive($id);
}
throw new NotFoundException("No definition for $id");
}
DS
EngineMarkTwo
:private function buildInternal(string $id)
{
if (!isset($this->definitions[$id])) {
if (!$this->strictMode) {
return $this->buildPrimitive($id);
}
throw new NotFoundException("No definition for $id");
}
В
DS
DS
DS
Д
АН
DS
В
Д
А
T
Д