src/Subscriptions/StorageManager.php
public function subscriberByRequest(array $input, array $headers): ?Subscriber
    {
        $channel = Arr::get($input, 'channel_name');

        return $channel
            ? $this->subscriberByChannel($channel)
            : null;
    }
public function subscriberByRequest(array $input, array $headers): ?Subscriber
    {
        $channel = Arr::get($input, 'channel_name');

        return $channel
            ? $this->subscriberByChannel($channel)
            : null;
    }
public function subscriberByRequest ( array $ input , array $ headers ) : ? Subscriber { $ channel = Arr :: get ( $ input , 'channel_name' ) ; return $ channel ? $ this -> subscriberByChannel ( $ channel ) : null ; }
Get subscriber by request.

@param  array  $input
@param  array  $headers
@return \Nuwave\Lighthouse\Subscriptions\Subscriber|null
Get subscriber by request .