PHP code example of death_satan / lombok

1. Go to this page and download the library: Download death_satan/lombok 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/ */

    

death_satan / lombok example snippets



/** 所有的注解都存放在DeathSatan\Lombok\Attributes空间下 */
use DeathSatan\Lombok\Attributes as Lombok;
// 为注解的类继承Helper Trait方法
use DeathSatan\Lombok\Lombok as Helper;
output 124