PHP code example of guidovanbiemen / setngeti
1. Go to this page and download the library: Download guidovanbiemen/setngeti 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/ */
guidovanbiemen / setngeti example snippets
class User
{
use \SetnGeti\Methods;
/**
* Sample property
*
* @get
* @set
* @var string
*/
private $username;
}
$user = new User();
$user->setUsername('johndoe');
echo $user->getUsername();
$user->setUsername('johndoe')
->setPassword('secret')
->store();