CakePdf\Pdf\CakePdf::userPassword PHP Метод

userPassword() публичный Метод

The user password is used to control who can open the PDF document.
public userPassword ( null | string $password = null ) : mixed
$password null | string password to set
Результат mixed
    public function userPassword($password = null)
    {
        if ($password === null) {
            return $this->_userPassword;
        }
        $this->_userPassword = $password;
        return $this;
    }