src/Rede/Cart.php
public function consumer($name, $email, $cpf)
    {
        $consumer = new Consumer($name, $email, $cpf);

        $this->setConsumer($consumer);

        return $consumer;
    }
public function consumer($name, $email, $cpf)
    {
        $consumer = new Consumer($name, $email, $cpf);

        $this->setConsumer($consumer);

        return $consumer;
    }
public function consumer ( $ name , $ email , $ cpf ) { $ consumer = new Consumer ( $ name , $ email , $ cpf ) ; $ this -> setConsumer ( $ consumer ) ; return $ consumer ; }
@param string $name
@param string $email
@param string $cpf

@return Consumer
@param string $name @param string $email @param string $cpf