mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Working on speech rec
This commit is contained in:
parent
d2b90ac4b6
commit
4ba3adfae9
@ -80,13 +80,6 @@ class BaseIntent
|
||||
return new $className($state, $data);
|
||||
}
|
||||
|
||||
protected function hasField($field, $value = false)
|
||||
{
|
||||
$fieldValue = $this->getField($field);
|
||||
|
||||
return $value ? $value == $fieldValue : !!$fieldValue;
|
||||
}
|
||||
|
||||
protected function getField($field)
|
||||
{
|
||||
foreach ($this->data->entities as $entity) {
|
||||
|
Loading…
Reference in New Issue
Block a user