mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-26 16:26:35 -06:00
New getters and setters.
This commit is contained in:
parent
b3aecec11d
commit
49211482b0
@ -99,31 +99,35 @@ class TransactionMatcher
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @return int
|
||||
*/
|
||||
public function getTransactionLimit()
|
||||
public function getRange()
|
||||
{
|
||||
return $this->range;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @param int $range
|
||||
*/
|
||||
public function getTransactionTypes()
|
||||
public function setRange($range)
|
||||
{
|
||||
return $this->transactionTypes;
|
||||
$this->range = $range;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $transactionTypes
|
||||
*
|
||||
* @return $this
|
||||
* @return int
|
||||
*/
|
||||
public function setTransactionTypes(array $transactionTypes)
|
||||
public function getLimit()
|
||||
{
|
||||
$this->transactionTypes = $transactionTypes;
|
||||
return $this->limit;
|
||||
}
|
||||
|
||||
return $this;
|
||||
/**
|
||||
* @param int $limit
|
||||
*/
|
||||
public function setLimit($limit)
|
||||
{
|
||||
$this->limit = $limit;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -136,26 +140,12 @@ class TransactionMatcher
|
||||
|
||||
/**
|
||||
* @param array $triggers
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTriggers($triggers)
|
||||
{
|
||||
$this->triggers = $triggers;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $limit
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTransactionLimit(int $limit)
|
||||
{
|
||||
$this->range = $limit;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user