\ThreadatorFactory

Summary

Methods
Properties
Constants
__construct()
getRuntime()
create()
createCallable()
No public properties found
No constants found
No protected methods found
$runtime
N/A
No private methods found
No private properties found
N/A

Properties

$runtime

$runtime : \Threadator\Runtime

Type

\Threadator\Runtime

Methods

__construct()

__construct(\Threadator\Runtime $runtime)

Parameters

\Threadator\Runtime $runtime

getRuntime()

getRuntime() : \Threadator\Runtime

Returns

\Threadator\Runtime

create()

create(string $threadClass) : \Threadator\Thread

Parameters

string $threadClass

Throws

\BadMethodCallException

Returns

\Threadator\Thread

createCallable()

createCallable(callable $callable) : $this

Parameters

callable $callable

Returns

$this