Pantheon\Terminus\Models\Lock::serialize PHP Method

serialize() public method

public serialize ( )
    public function serialize()
    {
        return ['locked' => $this->isLocked() ? 'true' : 'false', 'username' => $this->get('username'), 'password' => $this->get('password')];
    }