PHP Classes

File: tests/Fixtures/to_cobol.test

Recommend this page to a friend!
  Classes of jawira  >  PHP Case Converter for Twig  >  tests/Fixtures/to_cobol.test  >  Download  
File: tests/Fixtures/to_cobol.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Case Converter for Twig
Convert parameter values used in Twig templates
Author: By
Last change:
Date: 1 year ago
Size: 201 bytes
 

Contents

Class file image Download
--TEST--
"to_cobol" filter
--TEMPLATE--
{{ 'JAWIRA'|to_cobol }}
{{ 'fooBarBaz'|to_cobol }}
{{ ''|to_cobol }}
{{ 'HELLO_WORLD'|to_cobol }}
--DATA--
return [];
--EXPECT--
JAWIRA
FOO-BAR-BAZ

HELLO-WORLD
For more information send a message to info at phpclasses dot org.