PHP 8.2.30
Preview: StringStorage.php Size: 663 B
/opt/cloudlinux/alt-php55/root/usr/share/pear/Symfony/Component/Templating/Storage/StringStorage.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\Templating\Storage;

/**
 * StringStorage represents a template stored in a string.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 *
 * @api
 */
class StringStorage extends Storage
{
    /**
     * Returns the content of the template.
     *
     * @return string The template content
     *
     * @api
     */
    public function getContent()
    {
        return $this->template;
    }
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
684 B lrw-r--r-- 2019-12-18 11:24:07
Edit Download
1.02 KB lrw-r--r-- 2019-12-18 11:24:07
Edit Download
663 B lrw-r--r-- 2019-12-18 11:24:07
Edit Download

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