src/API.php
private function optionsAck($actionReader, $action)
    {
        $actionMeta = $actionReader->getActionCollection()[$action];

        $ack = new AckModel();
        $ack
            ->setServerCode(200)
            ->setSuccess(true)
            ->setPayload($actionMeta);

        return $ack;
    }
private function optionsAck($actionReader, $action)
    {
        $actionMeta = $actionReader->getActionCollection()[$action];

        $ack = new AckModel();
        $ack
            ->setServerCode(200)
            ->setSuccess(true)
            ->setPayload($actionMeta);

        return $ack;
    }
private function optionsAck ( $ actionReader , $ action ) { $ actionMeta = $ actionReader -> getActionCollection ( ) [ $ action ] ; $ ack = new AckModel ( ) ; $ ack -> setServerCode ( 200 ) -> setSuccess ( true ) -> setPayload ( $ actionMeta ) ; return $ ack ; }
Ack Options.

@param ActionReader $actionReader
@param string       $action

@return AckModel
Ack Options .