<?php namespace SomeNamespace; use Vendor\Namespace\ClassToOverload; // нужно подставить свой class SomeLayer { // ... public function someFunc(...) { // ... return new SomeClass($var, new ClassToOverload) // чтобы заменить тут } // ... }
You have javascript disabled. You will not be able to edit any code.