Source

VersionControl_Hg / Trunk / VersionControl / Hg / Command / Interface.php

The default branch has multiple heads

<?php
/**
 * Contains definition of Interface for Hg commands
 *
 * PHP version 5
 *
 * @category   VersionControl
 * @package    Hg
 * @subpackage Command
 * @author     Michael Gatto <mgatto@lisantra.com>
 * @copyright  2011 Lisantra Technologies, LLC
 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
 * @link       http://pear.php.net/package/VersionControl_Hg
 */

/**
 * Interface for Hg commands
 *
 * PHP version 5
 *
 * @category   VersionControl
 * @package    Hg
 * @subpackage Command
 * @author     Michael Gatto <mgatto@lisantra.com>
 * @copyright  2011 Lisantra Technologies, LLC
 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
 * @link       http://pear.php.net/package/VersionControl_Hg
 */
interface VersionControl_Hg_Command_Interface
{
    /**
     * Main method encapsulating the logic to run the command
     *
     * @param mixed             $params Options passed to the Log command
     * @param VersionControl_Hg $hg     Instance of the base object
     *
     * @return VersionControl_Hg_Command_Abstract
     */
    public function execute(array $params = null, VersionControl_Hg $hg);
}