class AbstractOperation implements OperationInterface
Base catalogues binary operation class.
A catalogue binary operation performs operation on source (the left argument) and target (the right argument) catalogues.
__construct(MessageCatalogueInterface $source, MessageCatalogueInterface $target) | ||
array | getDomains() Returns domains affected by operation. | |
array | getMessages(string $domain) Returns all valid messages ('all') after operation. | |
array | getNewMessages(string $domain) Returns new messages ('new') after operation. | |
array | getObsoleteMessages(string $domain) Returns obsolete messages ('obsolete') after operation. | |
MessageCatalogueInterface | getResult() Returns resulting catalogue ('result'). |
MessageCatalogueInterface | $source | |
MessageCatalogueInterface | $target |
LogicException |
Returns domains affected by operation.
array |
Returns all valid messages ('all') after operation.
string | $domain |
array |
Returns new messages ('new') after operation.
string | $domain |
array |
Returns obsolete messages ('obsolete') after operation.
string | $domain |
array |
Returns resulting catalogue ('result').
MessageCatalogueInterface |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Translation/Catalogue/AbstractOperation.html