PHP code example of kematjaya / user-bundle
1. Go to this page and download the library: Download kematjaya/user-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/ */
kematjaya / user-bundle example snippets
// src/Entity/MyUser.php
..
use Kematjaya\UserBundle\Entity\DefaultUser;
...
class MyUser extends DefaultUser
{
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $email;
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
}