vendor/bundles/FOS/UserBundle/Form/Model/CheckPassword.php
changeset 3 e54dfe4d0b2b
equal deleted inserted replaced
2:806e57d67020 3:e54dfe4d0b2b
       
     1 <?php
       
     2 
       
     3 /*
       
     4  * This file is part of the FOSUserBundle package.
       
     5  *
       
     6  * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
       
     7  *
       
     8  * For the full copyright and license information, please view the LICENSE
       
     9  * file that was distributed with this source code.
       
    10  */
       
    11 
       
    12 namespace FOS\UserBundle\Form\Model;
       
    13 
       
    14 use FOS\UserBundle\Model\UserInterface;
       
    15 
       
    16 class CheckPassword
       
    17 {
       
    18     /**
       
    19      * User whose password is changed
       
    20      *
       
    21      * @var UserInterface
       
    22      */
       
    23     public $user;
       
    24 
       
    25     /**
       
    26      * @var string
       
    27      */
       
    28     public $current;
       
    29 
       
    30     public function __construct(UserInterface $user)
       
    31     {
       
    32         $this->user = $user;
       
    33     }
       
    34 }