private function generateTwitterCard( $banner, $metaContent ) {

		$properties = TwitterMetaProperties::getInstance();

		if( $properties->isActive() ) {

			$card		= $properties->getCard();

			$site		= $properties->getSite();
			$creator	= $properties->getCreator();
			$model		= $this->model;
			$summary	= filter_var( $this->summary, FILTER_SANITIZE_STRING );

			// Configure Card, Site and Creator
			if( isset( $card ) ) {

				$metaContent[ 'tcard' ] = "<meta name=\"twitter:card\" content=\"summary_large_image\" />";

				if( !empty( $site ) ) {

					$metaContent[ 'tsite' ] = "<meta name=\"twitter:site\" content=\"$site\" />";
				}

				if( !empty( $creator ) ) {

					$metaContent[ 'tcreator' ] = "<meta name=\"twitter:creator\" content=\"$creator\" />";
				}
			}

			$defaultBanner = SiteProperties::getInstance()->getDefaultBanner();

			// TODO: Add support for player and app cards generated by Twitter
			switch( $card ) {

				case 'summary': {

					if( empty( $metaContent[ 'otitle' ] ) ) {

						$metaContent[ 'otitle' ] = "<meta name=\"twitter:title\" content=\"$model->displayName\" />";
					}

					if( empty( $metaContent[ 'odesc' ] ) ) {

						$metaContent[ 'tdesc' ] = "<meta name=\"twitter:description\" content=\"$summary\" />";
					}

					if( empty( $metaContent[ 'oimage' ] ) && ( isset( $banner ) || isset( $defaultBanner ) ) ) {

						$imageUrl = isset( $banner ) ? $banner->getMediumUrl() : Yii::getAlias( '@webroot' ) . "/images/$defaultBanner";

						$metaContent[ 'timage' ] = "<meta name=\"twitter:image\" content=\"$imageUrl\" />";
					}

					if( isset( $banner ) && !empty( $banner->altText ) ) {

						$metaContent[ 'timagealt' ] = "<meta name=\"twitter:image:alt\" content=\"$banner->altText\" />";
					}

					break;
				}
				case 'summary_large_image': {

					if( empty( $metaContent[ 'otitle' ] ) ) {

						$metaContent[ 'otitle' ] = "<meta name=\"twitter:title\" content=\"$model->displayName\" />";
					}

					if( empty( $metaContent[ 'odesc' ] ) ) {

						$metaContent[ 'tdesc' ] = "<meta name=\"twitter:description\" content=\"$summary\" />";
					}

					if( empty( $metaContent[ 'oimage' ] ) && ( isset( $banner ) || isset( $defaultBanner ) ) ) {

						$imageUrl = isset( $banner ) ? $banner->getFileUrl() : Yii::getAlias( '@webroot' ) . "/images/$defaultBanner";

						$metaContent[ 'timage' ] = "<meta name=\"twitter:image\" content=\"$imageUrl\" />";
					}

					if( isset( $banner ) && !empty( $banner->altText ) ) {

						$metaContent[ 'timagealt' ] = "<meta name=\"twitter:image:alt\" content=\"$banner->altText\" />";
					}

					break;
				}
				case 'app': {

					break;
				}
				case 'player': {

					break;
				}
			}
		}

		return $metaContent;
	}