Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


SDLx setter methods should return $self #195

kthakore opened this Issue · 0 comments

1 participant


SDLx getter methods are also setter methods. When you call them with no arguments, you get what you asked for. When you call them with arguments, you set it... but you don't get back anything useful in most cases. In these cases, the best thing to return is $self, so you can stack more setting, like:


I'll do this unless there are any problems.

@kthakore kthakore was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.