PHP code example of janit / typescript-generator-bundle
1. Go to this page and download the library: Download janit/typescript-generator-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
janit / typescript-generator-bundle example snippets
namespace AppBundle\Entity;
/**
* @TypeScriptMe
*/
class Person
{
/**
* @var string
*/
public $firstName;
/**
* @var string
*/
public $lastName;
/**
* @var int
*/
public $age;
}