public function getApplication($key)
    {
        if (empty($key)) {
            return null;
        }

        if (array_key_exists($key, $this->applications)) {
            return $this->applications[$key];
        }

        return null;
    }
public function getApplication($key)
    {
        if (empty($key)) {
            return null;
        }

        if (array_key_exists($key, $this->applications)) {
            return $this->applications[$key];
        }

        return null;
    }
public function getApplication ( $ key ) { if ( empty ( $ key ) ) { return null ; } if ( array_key_exists ( $ key , $ this -> applications ) ) { return $ this -> applications [ $ key ] ; } return null ; }
Returns a server application.

@param string $key Name of application.
@return null|DataHandlerInterface|ConnectionHandlerInterface|UpdateHandlerInterface The application object
Returns a server application .