i hope you can take some times to watch or read some material before asking it help you and help others as well.
https://laracasts.com/series/object-oriented-bootcamp-in-php/episodes/7
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I would take this as an example:
use Illuminate\Support\Str;
$contains = Str::contains('This is my name', 'my');
// true
Is Str the class anme and contains the function name?
i hope you can take some times to watch or read some material before asking it help you and help others as well.
https://laracasts.com/series/object-oriented-bootcamp-in-php/episodes/7
Please or to participate in this conversation.