W3cubDocs

/Symfony 2.7

Symfony\Component\Translation\Catalogue\OperationInterface

interface OperationInterface

Represents an operation on catalogue(s).

Methods

array getDomains()

Returns domains affected by operation.

array getMessages(string $domain)

Returns all valid messages after operation.

array getNewMessages(string $domain)

Returns new messages after operation.

array getObsoleteMessages(string $domain)

Returns obsolete messages after operation.

MessageCatalogueInterface getResult()

Returns resulting catalogue.

Details

public array getDomains()

Returns domains affected by operation.

Return Value

array

public array getMessages(string $domain)

Returns all valid messages after operation.

Parameters

string $domain

Return Value

array

public array getNewMessages(string $domain)

Returns new messages after operation.

Parameters

string $domain

Return Value

array

public array getObsoleteMessages(string $domain)

Returns obsolete messages after operation.

Parameters

string $domain

Return Value

array

public MessageCatalogueInterface getResult()

Returns resulting catalogue.

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Translation/Catalogue/OperationInterface.html