for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Superdesk Web Publisher Rule Component.
*
* Copyright 2016 Sourcefabric z.ú. and contributors.
* For the full copyright and license information, please see the
* AUTHORS and LICENSE files distributed with this source code.
* @copyright 2016 Sourcefabric z.ú
* @license http://www.superdesk.org/license
*/
namespace SWP\Component\Rule\Model;
class Rule implements RuleInterface
{
/**
* @var mixed
protected $id;
* @var string
protected $expression;
* @var int
protected $priority;
* @var array
protected $configuration = [];
protected $description;
protected $name;
* {@inheritdoc}
public function getId()
return $this->id;
}
public function getExpression()
return $this->expression;
public function setExpression($expression)
$this->expression = $expression;
public function getPriority()
return $this->priority;
public function setPriority($priority)
$this->priority = $priority;
public function getConfiguration()
return $this->configuration;
public function setConfiguration(array $configuration)
$this->configuration = $configuration;
public function getDescription()
return $this->description;
public function setDescription($description)
$this->description = $description;
public function getName()
return $this->name;
public function setName($name)
$this->name = $name;