orif ($user->isa('Client')) { $user->method(); }
if ($user->can('method')) { $user->method(); }
In reply to Re: Who am I? Inheritance question
by ikegami
in thread Who am I? Inheritance question
by kwaping
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |