icingadb-web/library/Icingadb/Command/Object/GetObjectCommand.php
2023-08-02 12:44:02 +02:00

35 lines
625 B
PHP

<?php
/* Icinga DB Web | (c) 2021 Icinga GmbH | GPLv2 */
namespace Icinga\Module\Icingadb\Command\Object;
class GetObjectCommand extends ObjectsCommand
{
/** @var array */
protected $attributes;
/**
* Get the attributes to query
*
* @return ?array
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* Set the attributes to query
*
* @param array $attributes
*
* @return $this
*/
public function setAttributes(array $attributes): self
{
$this->attributes = $attributes;
return $this;
}
}