private function createProfile(
        string $token,
        string $ip,
        string $method,
        string $url,
        int $statusCode,
        float $time,
        string $date,
        array $collectors
    ): void {
        $profile = new Profile($token);
        $profile->setIp($ip);
        $profile->setMethod($method);
        $profile->setUrl($url);
        $profile->setTime($time);
        $profile->setDate($date);
        $profile->setStatusCode($statusCode);
        $profile->setCollectors($collectors);

        $item = $this->cachePool->getItem($token);
        $item->set($profile);
        $item->expiresAfter(60);

        $this->cachePool->save($item);
    }
private function createProfile(
        string $token,
        string $ip,
        string $method,
        string $url,
        int $statusCode,
        float $time,
        string $date,
        array $collectors
    ): void {
        $profile = new Profile($token);
        $profile->setIp($ip);
        $profile->setMethod($method);
        $profile->setUrl($url);
        $profile->setTime($time);
        $profile->setDate($date);
        $profile->setStatusCode($statusCode);
        $profile->setCollectors($collectors);

        $item = $this->cachePool->getItem($token);
        $item->set($profile);
        $item->expiresAfter(60);

        $this->cachePool->save($item);
    }
private function createProfile ( string $ token , string $ ip , string $ method , string $ url , int $ statusCode , float $ time , string $ date , array $ collectors ) : void { $ profile = new Profile ( $ token ) ; $ profile -> setIp ( $ ip ) ; $ profile -> setMethod ( $ method ) ; $ profile -> setUrl ( $ url ) ; $ profile -> setTime ( $ time ) ; $ profile -> setDate ( $ date ) ; $ profile -> setStatusCode ( $ statusCode ) ; $ profile -> setCollectors ( $ collectors ) ; $ item = $ this -> cachePool -> getItem ( $ token ) ; $ item -> set ( $ profile ) ; $ item -> expiresAfter ( 60 ) ; $ this -> cachePool -> save ( $ item ) ; }
Create profile with all datas.

@param string $token
@param string $ip
@param string $method
@param string $url
@param int    $statusCode
@param float  $time
@param string $date
@param array  $collectors

@return void
Create profile with all datas .