public function getIsFlash()
    {
        /** @var string $userAgent */
        $userAgent = $this->getHeaders()->get('User-Agent', '');
        return stripos($userAgent, 'Shockwave') !== false
            || stripos($userAgent, 'Flash') !== false;
    }
public function getIsFlash()
    {
        /** @var string $userAgent */
        $userAgent = $this->getHeaders()->get('User-Agent', '');
        return stripos($userAgent, 'Shockwave') !== false
            || stripos($userAgent, 'Flash') !== false;
    }
public function getIsFlash ( ) { /** @var string $userAgent */ $ userAgent = $ this -> getHeaders ( ) -> get ( 'User-Agent' , '' ) ; return stripos ( $ userAgent , 'Shockwave' ) !== false || stripos ( $ userAgent , 'Flash' ) !== false ; }
Returns whether this is an Adobe Flash or Flex request.
@return bool whether this is an Adobe Flash or Adobe Flex request.
Returns whether this is an Adobe Flash or Flex request .