Changed comments
This commit is contained in:
parent
68ff1b7b80
commit
7c854245fb
@ -24,7 +24,7 @@ class Sheet implements SheetInterface
|
|||||||
/** @var bool Whether the sheet was the active one */
|
/** @var bool Whether the sheet was the active one */
|
||||||
protected $isActive;
|
protected $isActive;
|
||||||
|
|
||||||
/** @var bool Whether the sheet was visible or not */
|
/** @var bool Whether the sheet is visible or not */
|
||||||
protected $isVisible;
|
protected $isVisible;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -83,7 +83,7 @@ class Sheet implements SheetInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @return bool Whether the sheet was visible or not
|
* @return bool Whether the sheet is visible or not
|
||||||
*/
|
*/
|
||||||
public function isVisible()
|
public function isVisible()
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ class Sheet
|
|||||||
/** @var string Name of the sheet */
|
/** @var string Name of the sheet */
|
||||||
protected $name;
|
protected $name;
|
||||||
|
|
||||||
/** @var bool isVisible visibility of the sheet */
|
/** @var bool Visibility of the sheet */
|
||||||
protected $isVisible;
|
protected $isVisible;
|
||||||
|
|
||||||
/** @var \Box\Spout\Common\Helper\StringHelper */
|
/** @var \Box\Spout\Common\Helper\StringHelper */
|
||||||
@ -83,6 +83,11 @@ class Sheet
|
|||||||
return $this->isVisible;
|
return $this->isVisible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api
|
||||||
|
* @param string $visibility Visibility of the sheet
|
||||||
|
* @return Sheet
|
||||||
|
*/
|
||||||
public function setVisibility($visibility = true)
|
public function setVisibility($visibility = true)
|
||||||
{
|
{
|
||||||
$this->isVisible = $visibility;
|
$this->isVisible = $visibility;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user