Eloquent\Phony\Mock\Builder\MockBuilderFactory::create PHP Метод

create() публичный Метод

Each value in $types can be either a class name, or an ad hoc mock definition. If only a single type is being mocked, the class name or definition can be passed without being wrapped in an array.
public create ( mixed $types = [] ) : MockBuilder
$types mixed The types to mock.
Результат MockBuilder The mock builder.
    public function create($types = array())
    {
        return new MockBuilder($types, $this->mockFactory, $this->handleFactory, $this->invocableInspector, $this->featureDetector);
    }