PHP Classes

File: tests/Fixtures/to_kebab.test

Recommend this page to a friend!
  Classes of jawira   PHP Case Converter for Twig   tests/Fixtures/to_kebab.test   Download  
File: tests/Fixtures/to_kebab.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: 2 years ago
Size: 201 bytes
 

Contents

Class file image Download
--TEST-- "to_kebab" filter --TEMPLATE-- {{ 'JAWIRA'|to_kebab }} {{ 'fooBarBaz'|to_kebab }} {{ ''|to_kebab }} {{ 'HELLO_WORLD'|to_kebab }} --DATA-- return []; --EXPECT-- jawira foo-bar-baz hello-world