src/Supervisor/Supervisor.php
private function createKey($ipAdress, $port, $username = null, $password = null)
    {
        $this->key = hash('md5', serialize(array(
            $ipAdress,
            $port,
            $username,
            $password,
        )));
    }
private function createKey($ipAdress, $port, $username = null, $password = null)
    {
        $this->key = hash('md5', serialize(array(
            $ipAdress,
            $port,
            $username,
            $password,
        )));
    }
private function createKey ( $ ipAdress , $ port , $ username = null , $ password = null ) { $ this -> key = hash ( 'md5' , serialize ( array ( $ ipAdress , $ port , $ username , $ password , ) ) ) ; }
Create a unique key. It ll be used to retrieve a supervisor object.

@param string $ipAdress
@param string $username
@param string $password
Create a unique key . It ll be used to retrieve a supervisor object .