public function identify(string $webserviceId)
    {
        //==============================================================================
        // Use Sf Event to Identify Server
        /** @var IdentifyServerEvent $event */
        $event = $this->getEventDispatcher()->dispatch(
            IdentifyServerEvent::NAME,
            new IdentifyServerEvent($this, $webserviceId)
        );
        //==============================================================================
        // If Connection Was Rejected
        if ($event->isRejected()) {
            return null;
        }
        //==============================================================================
        // Ensure Identify Server was Ok
        return $event->isIdentified();
    }
public function identify(string $webserviceId)
    {
        //==============================================================================
        // Use Sf Event to Identify Server
        /** @var IdentifyServerEvent $event */
        $event = $this->getEventDispatcher()->dispatch(
            IdentifyServerEvent::NAME,
            new IdentifyServerEvent($this, $webserviceId)
        );
        //==============================================================================
        // If Connection Was Rejected
        if ($event->isRejected()) {
            return null;
        }
        //==============================================================================
        // Ensure Identify Server was Ok
        return $event->isIdentified();
    }
public function identify ( string $ webserviceId ) { //============================================================================== // Use Sf Event to Identify Server /** @var IdentifyServerEvent $event */ $ event = $ this -> getEventDispatcher ( ) -> dispatch ( IdentifyServerEvent :: NAME , new IdentifyServerEvent ( $ this , $ webserviceId ) ) ; //============================================================================== // If Connection Was Rejected if ( $ event -> isRejected ( ) ) { return null ; } //============================================================================== // Ensure Identify Server was Ok return $ event -> isIdentified ( ) ; }
Ask for Identifcation of Server in Memory.

@param string $webserviceId

@return null|bool
Ask for Identifcation of Server in Memory .