public function setSecureData(array $data, $expires = 0, $path = null, $domain = null)
    {
        //argment test
        Argument::i()
            //argument 2 must be a integer
            ->test(2, 'int')
            //argument 3 must be a string or null
            ->test(3, 'string', 'null')
            //argument 4 must be a string or null
            ->test(4, 'string', 'null');

        $this->setData($data, $expires, $path, $domain, true, false);
        return $this;
    }
public function setSecureData(array $data, $expires = 0, $path = null, $domain = null)
    {
        //argment test
        Argument::i()
            //argument 2 must be a integer
            ->test(2, 'int')
            //argument 3 must be a string or null
            ->test(3, 'string', 'null')
            //argument 4 must be a string or null
            ->test(4, 'string', 'null');

        $this->setData($data, $expires, $path, $domain, true, false);
        return $this;
    }
public function setSecureData ( array $ data , $ expires = 0 , $ path = null , $ domain = null ) { //argment test Argument :: i ( ) //argument 2 must be a integer -> test ( 2 , 'int' ) //argument 3 must be a string or null -> test ( 3 , 'string' , 'null' ) //argument 4 must be a string or null -> test ( 4 , 'string' , 'null' ) ; $ this -> setData ( $ data , $ expires , $ path , $ domain , true , false ) ; return $ this ; }
Sets a set of secure cookies.

@param *array      $data     The list of cookie data
@param int         $expires  Expiration
@param string      $path     Path to make the cookie available
@param string|null $domain   The domain

@return Eden\Cookie\Index
Sets a set of secure cookies .