mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-04-12 20:36:17 -04:00
35 lines
625 B
PHP
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;
|
|
}
|
|
}
|