src/Model.php
public final function getData(string $name, $default = null)
   {
       if (property_exists($this, $name)) {
           try {
               return $this->{$name};
           } catch (Throwable $e) {
           }
       } else if (array_key_exists($name, $this->data)) {
           return $this->data[$name];
           
       }
       return $default;
   }
public final function getData(string $name, $default = null)
   {
       if (property_exists($this, $name)) {
           try {
               return $this->{$name};
           } catch (Throwable $e) {
           }
       } else if (array_key_exists($name, $this->data)) {
           return $this->data[$name];
           
       }
       return $default;
   }
{@inheritDoc}
@see \Seeren\Model\ModelInterface::getData()