Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/CSSList/KeyFrame.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,51 @@ class KeyFrame extends CSSList implements AtRule
*/
private $animationName;

/**
* @param int $iLineNo
*/
public function __construct($iLineNo = 0)
{
parent::__construct($iLineNo);
$this->vendorKeyFrame = null;
$this->animationName = null;
}

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

/**
* @return string|null
*/
public function getVendorKeyFrame()
{
return $this->vendorKeyFrame;
}

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

/**
* @return string|null
*/
public function getAnimationName()
{
return $this->animationName;
}

/**
* @return string
*/
public function __toString()
{
return $this->render(new OutputFormat());
Expand All @@ -62,6 +80,9 @@ public function render(OutputFormat $oOutputFormat)
return $sResult;
}

/**
* @return bool
*/
public function isRootList()
{
return false;
Expand Down