UserLDAP.php 338 B

12345678910111213141516
  1. <?php
  2. namespace Tree\Fixture;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity(repositoryClass="Gedmo\Tree\Entity\Repository\NestedTreeRepository")
  6. * @ORM\Table(name="user_ldap")
  7. */
  8. class UserLDAP extends User
  9. {
  10. public function __construct($ldapUserName)
  11. {
  12. parent::__construct('next@something.com', 'pass');
  13. }
  14. }