rmrevin\yii\fontawesome\component\Icon::rotate PHP Method

rotate() public method

public rotate ( string $value ) : self
$value string
return self
    public function rotate($value)
    {
        return $this->addCssClass(FA::$cssPrefix . '-rotate-' . $value, in_array((string) $value, [FA::ROTATE_90, FA::ROTATE_180, FA::ROTATE_270], true), sprintf('%s - invalid value. Use one of the constants: %s.', 'FA::rotate()', 'FA::ROTATE_90, FA::ROTATE_180, FA::ROTATE_270'));
    }