D
D
Danila2020-02-28 18:48:21
PHP
Danila, 2020-02-28 18:48:21

How to interact with another function?

There is a function bord("text"), how to make interaction with the function bold()? Example: bord("text")->bold("text2");to display "text text2"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Volf, 2020-02-28
@FunnyDev

If we are talking about the context of the class, then I think you need this .
PS Well, here are a couple more links: one , two on the topic "PHP call chain".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question