Tribe__Repository::__get( string $name )

Returns the value of a protected property.


Parameters

$name

(string) (Required)


Top ↑

Return

(mixed|null)


Top ↑

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};
	}

Top ↑

Changelog

Changelog
Version Description
4.7.19 Introduced.