private static function storeActivity($data)
    {
        Activity::create([
            'description'   => $data['description'],
            'userType'      => $data['userType'],
            'userId'        => $data['userId'],
            'route'         => $data['route'],
            'ipAddress'     => $data['ipAddress'],
            'userAgent'     => $data['userAgent'],
            'locale'        => $data['locale'],
            'referer'       => $data['referer'],
            'methodType'    => $data['methodType'],
        ]);
    }
private static function storeActivity($data)
    {
        Activity::create([
            'description'   => $data['description'],
            'userType'      => $data['userType'],
            'userId'        => $data['userId'],
            'route'         => $data['route'],
            'ipAddress'     => $data['ipAddress'],
            'userAgent'     => $data['userAgent'],
            'locale'        => $data['locale'],
            'referer'       => $data['referer'],
            'methodType'    => $data['methodType'],
        ]);
    }
private static function storeActivity ( $ data ) { Activity :: create ( [ 'description' => $ data [ 'description' ] , 'userType' => $ data [ 'userType' ] , 'userId' => $ data [ 'userId' ] , 'route' => $ data [ 'route' ] , 'ipAddress' => $ data [ 'ipAddress' ] , 'userAgent' => $ data [ 'userAgent' ] , 'locale' => $ data [ 'locale' ] , 'referer' => $ data [ 'referer' ] , 'methodType' => $ data [ 'methodType' ] , ] ) ; }
Store activity entry to database.

@param array $data

@return void
Store activity entry to database .