<?php

/* * ********************************************************************************** */
/*      This file is part of the Thelia package.                                     */
/*                                                                                   */
/*      Copyright (c) OpenStudio                                                     */
/*      email : dev@thelia.net                                                       */
/*      web : http://www.thelia.net                                                  */
/*                                                                                   */
/*      For the full copyright and license information, please view the LICENSE.txt  */
/*      file that was distributed with this source code.                             */
/* * ********************************************************************************** */
/* * ********************************************************************************** */

namespace ArtabanMarketplace\Controller;

use ArtabanMarketplace\Controller\Base\BaseController;

/**
 * Class SellerCustomersController
 * @package ArtabanMarketplace\Controller
 */
class SellerCustomersController extends BaseController {

    const CONTROLLER_ENTITY_NAME = "seller-customers";

    /**
     * Use to get render of list
     * @return mixed
     */
    protected function getListRenderTemplate() {
        return $this->render("seller-customers");
    }

    /**
     * Use to get a customer seller view
     * @return mixed
     */
    public function getSellerCustomerAction($customer_id) {
        return $this->render("seller-customer", array(
                    'customer_id' => $customer_id,
        ));
    }

    /**
     * Must return a RedirectResponse instance
     * @return \Symfony\Component\HttpFoundation\RedirectResponse
     */
    protected function redirectToListTemplate() {
        return $this->render("seller-customers");
    }

    /**
     * Use to get Edit render
     * @return mixed
     */
    protected function getEditRenderTemplate() {
        
    }

    /**
     * Use to get Create render
     * @return mixed
     */
    protected function getCreateRenderTemplate() {
        
    }

    /**
     * @return mixed
     */
    protected function getObjectId($object) {
        
    }

    /**
     * Load an existing object from the database
     */
    protected function getExistingObject() {
        
    }

    /**
     * Hydrate the update form for this object, before passing it to the update template
     *
     * @param mixed $object
     */
    protected function hydrateObjectForm($object) {
        
    }

}
