PHP 8.3.31
Preview: TruncateMode.php Size: 903 B
/home/getspomw/royalsquad.us/vendor/symfony/string/TruncateMode.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\String;

enum TruncateMode
{
    /**
     * Will cut exactly at given length.
     *
     * Length: 14
     * Source: Lorem ipsum dolor sit amet
     * Output: Lorem ipsum do
     */
    case Char;

    /**
     * Returns the string up to the last complete word containing the specified length.
     *
     * Length: 14
     * Source: Lorem ipsum dolor sit amet
     * Output: Lorem ipsum
     */
    case WordBefore;

    /**
     * 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
     */
    case WordAfter;
}

Directory Contents

Dirs: 4 × Files: 12

Name Size Perms Modified Actions
Exception DIR
- drwxrwxrwx 2026-04-21 09:09:59
Edit Download
Inflector DIR
- drwxrwxrwx 2025-09-17 06:53:17
Edit Download
Resources DIR
- drwxrwxrwx 2025-09-17 06:53:17
Edit Download
Slugger DIR
- drwxrwxrwx 2025-09-17 06:53:17
Edit Download
19.09 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
27.59 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
14.46 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
1.08 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
7.54 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
1.37 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
7.41 KB lrw-r--r-- 2026-04-25 13:04:24
Edit Download
4.29 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
1.04 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
555 B lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
903 B lrw-rw-rw- 2025-09-17 06:53:17
Edit Download
12.22 KB lrw-rw-rw- 2025-09-17 06:53:17
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).