src/Database/Migration/SchemaConnection.php
/**
	 * Gets the current prefix or prepends it to the given table name.
	 *
	 * @param string $name
	 * @return string
	 */
Gets the current prefix or prepends it to the given table name.
@param string $name
@return string
Gets the current prefix or prepends it to the given table name . @param string $name @return string
public function prefix($name = null) {
		$prefix = $this->database->getDatabase()->getPrefix();
		if (!is_null($name)) {
			return $prefix . $name;
		}
		return $prefix;
	}
public function prefix ( $ name = null ) { $ prefix = $ this -> database -> getDatabase ( ) -> getPrefix ( ) ; if ( ! is_null ( $ name ) ) { return $ prefix . $ name ; } return $ prefix ; }
Gets the current prefix or prepends it to the given table name.
Gets the current prefix or prepends it to the given table name .