src/Agent.php
public function isPhone($userAgent = null, $httpHeaders = null)
    {
        return $this->isMobile($userAgent, $httpHeaders) && !$this->isTablet($userAgent, $httpHeaders);
    }
public function isPhone($userAgent = null, $httpHeaders = null)
    {
        return $this->isMobile($userAgent, $httpHeaders) && !$this->isTablet($userAgent, $httpHeaders);
    }
public function isPhone ( $ userAgent = null , $ httpHeaders = null ) { return $ this -> isMobile ( $ userAgent , $ httpHeaders ) && ! $ this -> isTablet ( $ userAgent , $ httpHeaders ) ; }
Check if the device is a mobile phone.
@param  string|null $userAgent deprecated
@param  array $httpHeaders deprecated
@return bool
Check if the device is a mobile phone .