src/MessengerFactory.php
public static function create($host, $port, $password)
    {
        $connection = ConnectionFactory::create($host, $port, $password);

        return new Messenger($connection);
    }
public static function create($host, $port, $password)
    {
        $connection = ConnectionFactory::create($host, $port, $password);

        return new Messenger($connection);
    }
public static function create ( $ host , $ port , $ password ) { $ connection = ConnectionFactory :: create ( $ host , $ port , $ password ) ; return new Messenger ( $ connection ) ; }
Create a new RconMessenger

@param $host
@param $port
@param $password

@return \gries\Rcon\Messenger
Create a new RconMessenger