src/PortaText/Command/Api/Contacts.php
public function setAll($variables)
    {
        $vars = array();
        foreach ($variables as $k => $v) {
            $vars[] = array('key' => $k, 'value' => $v);
        }
        return $this->setArgument("variables", $vars);
    }
public function setAll($variables)
    {
        $vars = array();
        foreach ($variables as $k => $v) {
            $vars[] = array('key' => $k, 'value' => $v);
        }
        return $this->setArgument("variables", $vars);
    }
public function setAll ( $ variables ) { $ vars = array ( ) ; foreach ( $ variables as $ k => $ v ) { $ vars [ ] = array ( 'key' => $ k , 'value' => $ v ) ; } return $ this -> setArgument ( "variables" , $ vars ) ; }
Sets all the given variables.

@param array $variables variables.

@return PortaText\Command\ICommand
Sets all the given variables .