public static function makePublicProperties(array $properties)
    {
        echo '<pre>'."\n";

        foreach ($properties as $key => $value)
        {
            $type = gettype($value);

            if ($type === 'object') {
                $type = get_class($value);
            }

            echo <<<EODOC
    /**
     * @var $type
     */
    public \$$key;

EODOC;
        }

        echo '</pre>'."\n";
    }