Changes between Version 45 and Version 46 of members/GRIP-UQAM/Symfony
- Timestamp:
- Jul 9, 2017, 7:40:10 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
members/GRIP-UQAM/Symfony
v45 v46 451 451 === Using friendsofsymfony/user-bundle === 452 452 ==== FOS\UserBundle\Model\UserInterface ==== 453 * [http://php.net/manual/en/class.serializable.php The Serializable interface] 453 * //[http://php.net/manual/en/class.serializable.php The Serializable interface]// 454 * //[http://php.net/manual/en/language.oop5.abstract.php Class Abstraction]// 454 455 ===== UserInterface ===== 455 456 * Symfony\Component\Security\Core\User … … 479 480 * bool isCredentialsNonExpired() 480 481 * bool isEnabled() 481 ===== FOS\UserBundle\Model\UserInterface ===== 482 ===== FOS\UserBundle UserInterface ===== 483 * FOS\UserBundle\Model\UserInterface 484 * https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Model/UserInterface.php 482 485 {{{#!sh 483 486 interface UserInterface extends AdvancedUserInterface, \Serializable … … 527 530 self setLastLogin(DateTime $time = null) 528 531 }}} 532 ===== FOS\UserBundle User ===== 533 * FOS\UserBundle\Model\User 534 * Storage agnostic user object. 535 * https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Model/User.php 536 {{{#!sh 537 abstract class User implements UserInterface, GroupableInterface 538 ... 539 }}} 540 * ORM Mapping is in the xml file [https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/config/doctrine-mapping/User.orm.xml Resources/config/doctrine-mapping/User.orm.xml] it does not map "$id" neither "$plainPassword"(!) defined in [https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Model/User.php Model/User.php].