Tribe__Repository::__get( string $name )
Returns the value of a protected property.
Contents
Parameters
- $name
-
(string) (Required)
Return
(mixed|null)
Source
File: src/Tribe/Repository.php
public function __get( $name ) {
if ( ! property_exists( $this, $name ) ) {
throw Tribe__Repository__Usage_Error::because_property_is_not_defined( $name, $this );
}
return $this->{$name};
}
Changelog
| Version | Description |
|---|---|
| 4.7.19 | Introduced. |