I have a validation class which uses method chaining. I would like to be able to do single checks with `TRUE/FALSE` like this:

```
if ($obj->checkSomething()) {}

```

But also chain methods like this:

```
if ($obj->checkSomething()->checkSomethingElse()) {}

```

The problem however is that if one method returns `FALSE`, it will not send back an object and thus breaks the method chaining which ends with this error:

```
Fatal error: Call to a member function checkSomething() on a non-object in ...

```

Do I have to pick either single method return calls or method chaining or is there a workaround?