1
0
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:
Hillel Coren 2017-04-05 22:39:56 +03:00
parent d2b90ac4b6
commit 4ba3adfae9

View File

@ -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) {