<?php
/**
 * Edit class
 *
 * @author Lucas Dantas <lucas@caju.nu>
 * @package classes
 * @subpackage edit
 * @version 1.0
 * @since 2018/04/11 11:58
 */
Class EditController{

	/**
	 * Defining the repository
	 *
	 * @access public
	 * @static
	 * @uses EditRepositoryDBR::getInstance Defining the instance
	 * @return mixed
	 */
	public static function getRepository(){

		//Retornando
		return EditRepositoryDBR::getInstance();

	}

	/**
	 * Editing the answer's status by your identifier and destination
	 *
	 * @access public
	 * @static
	 * @param integer $id Identifier
	 * @param integer $destination Destination
	 * @uses EditRepositoryDBR->statusByIdByDestination Editing the answers's status by your identifier and destination
	 */
	public static function statusByIdByDestination( $id = null, $destination = null ){

		//Editing
		self::getRepository()->statusByIdByDestination( $id, $destination );

	}

}