interface OperationInterface in Plug 7
Represents an operation on catalogue(s).
@author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
Hierarchy
- interface \Symfony\Component\Translation\Catalogue\OperationInterface
Expanded class hierarchy of OperationInterface
All classes that implement OperationInterface
File
- lib/
Symfony/ translation/ Catalogue/ OperationInterface.php, line 21
Namespace
Symfony\Component\Translation\CatalogueView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OperationInterface:: |
public | function | Returns domains affected by operation. | 1 |
OperationInterface:: |
public | function | Returns all valid messages after operation. | 1 |
OperationInterface:: |
public | function | Returns new messages after operation. | 1 |
OperationInterface:: |
public | function | Returns obsolete messages after operation. | 1 |
OperationInterface:: |
public | function | Returns resulting catalogue. | 1 |