You are here

interface OperationInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Catalogue/OperationInterface.php \Symfony\Component\Translation\Catalogue\OperationInterface

Represents an operation on catalogue(s).

@author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>

Hierarchy

Expanded class hierarchy of OperationInterface

All classes that implement OperationInterface

File

vendor/symfony/translation/Catalogue/OperationInterface.php, line 21

Namespace

Symfony\Component\Translation\Catalogue
View source
interface OperationInterface {

  /**
   * Returns domains affected by operation.
   *
   * @return array
   */
  public function getDomains();

  /**
   * Returns all valid messages after operation.
   *
   * @param string $domain
   *
   * @return array
   */
  public function getMessages($domain);

  /**
   * Returns new messages after operation.
   *
   * @param string $domain
   *
   * @return array
   */
  public function getNewMessages($domain);

  /**
   * Returns obsolete messages after operation.
   *
   * @param string $domain
   *
   * @return array
   */
  public function getObsoleteMessages($domain);

  /**
   * Returns resulting catalogue.
   *
   * @return MessageCatalogueInterface
   */
  public function getResult();

}

Members

Namesort descending Modifiers Type Description Overrides
OperationInterface::getDomains public function Returns domains affected by operation. 1
OperationInterface::getMessages public function Returns all valid messages after operation. 1
OperationInterface::getNewMessages public function Returns new messages after operation. 1
OperationInterface::getObsoleteMessages public function Returns obsolete messages after operation. 1
OperationInterface::getResult public function Returns resulting catalogue. 1