403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.120
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/shark/vendor/sabberworm/php-css-parser/src/CSSList/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/shark/vendor/sabberworm/php-css-parser/src/CSSList/KeyFrame.php
<?php

declare(strict_types=1);

namespace Sabberworm\CSS\CSSList;

use Sabberworm\CSS\OutputFormat;
use Sabberworm\CSS\Property\AtRule;

class KeyFrame extends CSSList implements AtRule
{
    /**
     * @var non-empty-string
     */
    private $vendorKeyFrame = 'keyframes';

    /**
     * @var non-empty-string
     */
    private $animationName = 'none';

    /**
     * @param non-empty-string $vendorKeyFrame
     */
    public function setVendorKeyFrame(string $vendorKeyFrame): void
    {
        $this->vendorKeyFrame = $vendorKeyFrame;
    }

    /**
     * @return non-empty-string
     */
    public function getVendorKeyFrame(): string
    {
        return $this->vendorKeyFrame;
    }

    /**
     * @param non-empty-string $animationName
     */
    public function setAnimationName(string $animationName): void
    {
        $this->animationName = $animationName;
    }

    /**
     * @return non-empty-string
     */
    public function getAnimationName(): string
    {
        return $this->animationName;
    }

    /**
     * @return non-empty-string
     */
    public function render(OutputFormat $outputFormat): string
    {
        $formatter = $outputFormat->getFormatter();
        $result = $formatter->comments($this);
        $result .= "@{$this->vendorKeyFrame} {$this->animationName}{$formatter->spaceBeforeOpeningBrace()}{";
        $result .= $this->renderListContents($outputFormat);
        $result .= '}';
        return $result;
    }

    public function isRootList(): bool
    {
        return false;
    }

    /**
     * @return non-empty-string
     */
    public function atRuleName(): string
    {
        return $this->vendorKeyFrame;
    }

    /**
     * @return non-empty-string
     */
    public function atRuleArgs(): string
    {
        return $this->animationName;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit