src/mako/database/midgard/relations/ManyToMany.php
protected function getJunctionTable()
	{
		if($this->junctionTable === null)
		{
			$tables = [$this->parent->getTable(), $this->model->getTable()];

			sort($tables);

			$this->junctionTable = implode('_', $tables);
		}

		return $this->junctionTable;
	}
protected function getJunctionTable()
	{
		if($this->junctionTable === null)
		{
			$tables = [$this->parent->getTable(), $this->model->getTable()];

			sort($tables);

			$this->junctionTable = implode('_', $tables);
		}

		return $this->junctionTable;
	}
protected function getJunctionTable ( ) { if ( $ this -> junctionTable === null ) { $ tables = [ $ this -> parent -> getTable ( ) , $ this -> model -> getTable ( ) ] ; sort ( $ tables ) ; $ this -> junctionTable = implode ( '_' , $ tables ) ; } return $ this -> junctionTable ; }
Returns the the junction table.

@return string
Returns the the junction table .