You are here

public function Schema::__get in Schemata 8

Magic method: Gets a property value.

Parameters

string $name: The name of the property to get; e.g., 'title' or 'name'.

Return value

mixed The value.

File

src/Schema/Schema.php, line 215

Class

Schema
Schema class that describes a Drupal Entity or Entity Type.

Namespace

Drupal\schemata\Schema

Code

public function __get($name) {
  return $this->properties[$name];
}