     1: <?php
     2:
     3: namespace SMSApi\Api\Action\User;
     4:
     5: /**
     6:  * Class Edit
     7:  * @package SMSApi\Api\Action\User
     8:  */
     9: class Edit extends Add {
    10:
    11:     /**
    12:      * @deprecated since v1.0.0 use User::filterByUsername
    13:      * @param $username
    14:      * @return $this
    15:      */
    16:     public function setUsername( $username ) {
    17:         $this->params[ "set_user" ] = $username;
    18:         return $this;
    19:     }
    20:
    21:     /**
    22:      * Set username to edit account.
    23:      *
    24:      * @param string $username user name to edit
    25:      * @return $this
    26:      */
    27:     public function filterByUsername( $username ) {
    28:         $this->params[ "set_user" ] = $username;
    29:         return $this;
    30:     }
    31:
    32: }
    33:
    34: