public function getMessagesExtractionTestData() { $message = 'new key'; $domain = 'domain'; return array(array(TwigNodeProvider::getTransFilter($message), array(array($message, null))), array(TwigNodeProvider::getTransChoiceFilter($message), array(array($message, null))), array(TwigNodeProvider::getTransTag($message), array(array($message, null))), array(TwigNodeProvider::getTransFilter($message, $domain), array(array($message, $domain))), array(TwigNodeProvider::getTransChoiceFilter($message, $domain), array(array($message, $domain))), array(TwigNodeProvider::getTransTag($message, $domain), array(array($message, $domain)))); }
public function getDefaultDomainAssignmentTestData() { return array(array(TwigNodeProvider::getTransFilter(self::$message)), array(TwigNodeProvider::getTransChoiceFilter(self::$message)), array(TwigNodeProvider::getTransTag(self::$message))); }
public function getDefaultDomainAssignmentTestData() { return array(array(TwigNodeProvider::getTransFilter(self::$message)), array(TwigNodeProvider::getTransChoiceFilter(self::$message)), array(TwigNodeProvider::getTransTag(self::$message)), array(TwigNodeProvider::getTransFilter(self::$message, null, array('arguments' => new \Twig_Node_Expression_Array(array(), 0)))), array(TwigNodeProvider::getTransChoiceFilter(self::$message), null, array('arguments' => new \Twig_Node_Expression_Array(array(), 0)))); }