public static function arrow(string $direction) : string
    {
        switch ($direction) {
            case "up": 	  $output = '<span class="arrow">&uarr;</span>'; break;
            case "down":  $output = '<span class="arrow">&darr;</span>'; break;
            case "left":  $output = '<span class="arrow">&larr;</span>'; break;
            case "right": $output = '<span class="arrow">&rarr;</span>'; break;
        }

        return $output;
    }
public static function arrow(string $direction) : string
    {
        switch ($direction) {
            case "up": 	  $output = '<span class="arrow">&uarr;</span>'; break;
            case "down":  $output = '<span class="arrow">&darr;</span>'; break;
            case "left":  $output = '<span class="arrow">&larr;</span>'; break;
            case "right": $output = '<span class="arrow">&rarr;</span>'; break;
        }

        return $output;
    }
public static function arrow ( string $ direction ) : string { switch ( $ direction ) { case "up" : $ output = '<span class="arrow">&uarr;</span>' ; break ; case "down" : $ output = '<span class="arrow">&darr;</span>' ; break ; case "left" : $ output = '<span class="arrow">&larr;</span>' ; break ; case "right" : $ output = '<span class="arrow">&rarr;</span>' ; break ; } return $ output ; }
Create an arrow

echo Html::arrow('right');

@param  string  $direction Arrow direction [up,down,left,right]
@return string
Create an arrow