Timber\User::__construct PHP Method

__construct() public method

public __construct ( object | integer | boolean $uid = false )
$uid object | integer | boolean
    public function __construct($uid = false)
    {
        $this->init($uid);
    }

Usage Example

コード例 #1
0
 /**
  * @param object $author co-author object
  */
 public function __construct($author)
 {
     parent::__construct($author);
 }