PHP code example of apinnecke / composite-number-range-behavior
1. Go to this page and download the library: Download apinnecke/composite-number-range-behavior 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/ */
apinnecke / composite-number-range-behavior example snippets
$user = new \User();
$user->setName('Alfred');
$user->save();
$document = new \Document();
$document->setUser($user);
$document->save();
$userDocumentId = $document->getUserDocumentId();
// $userDocumentId contains 1