src/Netzmacht/Bootstrap/Buttons/Factory.php
protected static function parseDefinition($definition)
    {
        if (!is_array($definition)) {
            $definition = deserialize($definition, true);

            return $definition;
        }

        return $definition;
    }
protected static function parseDefinition($definition)
    {
        if (!is_array($definition)) {
            $definition = deserialize($definition, true);

            return $definition;
        }

        return $definition;
    }
protected static function parseDefinition ( $ definition ) { if ( ! is_array ( $ definition ) ) { $ definition = deserialize ( $ definition , true ) ; return $ definition ; } return $ definition ; }
Parse button definition.

@param string|array $definition Button definition.

@return array
Parse button definition .