private function usingDirective($pattern, $control = false, $capture = false)
	{
		if ($control) {
			switch ($this->__engine) {
				case 'blade':
					return "/\@$pattern\((.*?)\)/";
					break;

				case 'modulus':
					return $capture == true ? "/\{\% $pattern\((.*?)\) \%\}/" : "/\{\% $pattern (.*?) \%\}/";
					break;

				default:
					return '';
					break;
			}

			return;
		}

		switch ($this->__engine) {
			case 'blade':
				return "/\@$pattern/";
				break;

			case 'modulus':
				return "/\{\% $pattern \%\}/";
				break;

			default:
				return '';
				break;
		}
	}
private function usingDirective($pattern, $control = false, $capture = false)
	{
		if ($control) {
			switch ($this->__engine) {
				case 'blade':
					return "/\@$pattern\((.*?)\)/";
					break;

				case 'modulus':
					return $capture == true ? "/\{\% $pattern\((.*?)\) \%\}/" : "/\{\% $pattern (.*?) \%\}/";
					break;

				default:
					return '';
					break;
			}

			return;
		}

		switch ($this->__engine) {
			case 'blade':
				return "/\@$pattern/";
				break;

			case 'modulus':
				return "/\{\% $pattern \%\}/";
				break;

			default:
				return '';
				break;
		}
	}
private function usingDirective ( $ pattern , $ control = false , $ capture = false ) { if ( $ control ) { switch ( $ this -> __engine ) { case 'blade' : return "/\@$pattern\((.*?)\)/" ; break ; case 'modulus' : return $ capture == true ? "/\{\% $pattern\((.*?)\) \%\}/" : "/\{\% $pattern (.*?) \%\}/" ; break ; default : return '' ; break ; } return ; } switch ( $ this -> __engine ) { case 'blade' : return "/\@$pattern/" ; break ; case 'modulus' : return "/\{\% $pattern \%\}/" ; break ; default : return '' ; break ; } }
Return code based on specified engine

@param  string  $pattern
@param  boolean $control
Return code based on specified engine