sittercity/sprig

additional related($name, $value) method

Closed this issue · 2 comments

I suggest adding an additional related($name, $value) method that returns TRUE when $value is related, FALSE when it's not. If you pass an array for $value, it will return TRUE when all values are related, FALSE when none are, or an array intersect of the values that are related.

Added related() method, Closed by 2c01779

Be sure to see my comments on the your commit. You don't support objects or arrays.