src/Sly/NotificationPusher/PushManager.php
public function getFeedback(AdapterInterface $adapter)
    {
        if (!$adapter instanceof FeedbackAdapterInterface) {
            throw new AdapterException(
                sprintf(
                    '%s adapter has no dedicated "getFeedback" method',
                    (string)$adapter
                )
            );
        }
        $adapter->setEnvironment($this->getEnvironment());

        return $adapter->getFeedback();
    }
public function getFeedback(AdapterInterface $adapter)
    {
        if (!$adapter instanceof FeedbackAdapterInterface) {
            throw new AdapterException(
                sprintf(
                    '%s adapter has no dedicated "getFeedback" method',
                    (string)$adapter
                )
            );
        }
        $adapter->setEnvironment($this->getEnvironment());

        return $adapter->getFeedback();
    }
public function getFeedback ( AdapterInterface $ adapter ) { if ( ! $ adapter instanceof FeedbackAdapterInterface ) { throw new AdapterException ( sprintf ( '%s adapter has no dedicated "getFeedback" method' , ( string ) $ adapter ) ) ; } $ adapter -> setEnvironment ( $ this -> getEnvironment ( ) ) ; return $ adapter -> getFeedback ( ) ; }
Get feedback.

@param \Sly\NotificationPusher\Adapter\AdapterInterface $adapter Adapter

@return array

@throws AdapterException When the adapter has no dedicated `getFeedback` method
Get feedback .