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 */
|
||||
protected $isActive;
|
||||
|
||||
/** @var bool Whether the sheet was visible or not */
|
||||
/** @var bool Whether the sheet is visible or not */
|
||||
protected $isVisible;
|
||||
|
||||
/**
|
||||
@ -83,7 +83,7 @@ class Sheet implements SheetInterface
|
||||
|
||||
/**
|
||||
* @api
|
||||
* @return bool Whether the sheet was visible or not
|
||||
* @return bool Whether the sheet is visible or not
|
||||
*/
|
||||
public function isVisible()
|
||||
{
|
||||
|
@ -33,7 +33,7 @@ class Sheet
|
||||
/** @var string Name of the sheet */
|
||||
protected $name;
|
||||
|
||||
/** @var bool isVisible visibility of the sheet */
|
||||
/** @var bool Visibility of the sheet */
|
||||
protected $isVisible;
|
||||
|
||||
/** @var \Box\Spout\Common\Helper\StringHelper */
|
||||
@ -83,6 +83,11 @@ class Sheet
|
||||
return $this->isVisible;
|
||||
}
|
||||
|
||||
/**
|
||||
* @api
|
||||
* @param string $visibility Visibility of the sheet
|
||||
* @return Sheet
|
||||
*/
|
||||
public function setVisibility($visibility = true)
|
||||
{
|
||||
$this->isVisible = $visibility;
|
||||
|
Loading…
x
Reference in New Issue
Block a user