izzum\statemachine\persistence\MongoDB::setClient PHP Method

setClient() public method

sets a mongoclient. this can be useful if your application already has a mongoclient instantiated and you want to reuse it.
public setClient ( MongoClient $client )
$client MongoClient
    public function setClient(\MongoClient $client)
    {
        $this->client = $client;
    }