public function translate($key, $value)
    {
        Argument::i()
            //argument 1 must be a string
            ->test(1, 'string')
            //argument 2 must be a string
            ->test(2, 'string');
            
        $this->language[$key] = $value;
        
        return $this;
    }
public function translate($key, $value)
    {
        Argument::i()
            //argument 1 must be a string
            ->test(1, 'string')
            //argument 2 must be a string
            ->test(2, 'string');
            
        $this->language[$key] = $value;
        
        return $this;
    }
public function translate ( $ key , $ value ) { Argument :: i ( ) //argument 1 must be a string -> test ( 1 , 'string' ) //argument 2 must be a string -> test ( 2 , 'string' ) ; $ this -> language [ $ key ] = $ value ; return $ this ; }
Sets the translated value to the specified key

@param *string $key   The translation key
@param *string $value The default value if we cannot find the translation

@return this
Sets the translated value to the specified key