Larastan: Extension needed for abort_unless

Created on 17 Oct 2019  路  5Comments  路  Source: nunomaduro/larastan

We need another type specifying extension. This time for abort_unless

It should be the almost the same as this extension. Also this comment from below should be considered.

This can be a good first issue to start contributing to larastan! :+1:

good first issue help wanted

All 5 comments

And I guess same thing can apply to throw_if and throw_unless

Could you please handle all of these functions in 1 class?

No. I think they should have seperate extensions.

Okay. I thought they need the very same action.

You can register one extension multiple times with different constructor arguments. abort_if and throw_if seem like they do the same thing with the first argument.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zlodes picture zlodes  路  3Comments

iNviNho picture iNviNho  路  3Comments

jdrieghe picture jdrieghe  路  4Comments

fico7489 picture fico7489  路  3Comments

JeroenVanOort picture JeroenVanOort  路  3Comments