public function getProperty($name)
{
if (!isset($this->properties[$name])) {
throw new \InvalidArgumentException(sprintf('Unknown model property "%s", in structure "%s". Known model properties: "%s". Loaded from "%s"', $name, $this->getName(), implode('", "', array_keys($this->properties)), $this->resource));
}
return $this->properties[$name];
}