Copied!
Final
Constants
public Symfony\Component\String\TruncateMode::Char = ''
 

Will cut exactly at given length.

Length: 14 Source: Lorem ipsum dolor sit amet Output: Lorem ipsum do

public Symfony\Component\String\TruncateMode::WordAfter = ''
 

Returns the string up to the complete word after or at the given length.

Length: 14 Source: Lorem ipsum dolor sit amet Output: Lorem ipsum dolor

public Symfony\Component\String\TruncateMode::WordBefore = ''
 

Returns the string up to the last complete word containing the specified length.

Length: 14 Source: Lorem ipsum dolor sit amet Output: Lorem ipsum

Properties
public readonly string $name
Methods
public static cases() : array
Methods
public static cases() : array
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration