W
W
warobushek2015-10-12 14:41:38
PHP
warobushek, 2015-10-12 14:41:38

What is the name of the syntactic construction in php like "$reportContext = new Bitrix\Conversion\ReportContext;"?

It is necessary to study this topic in more detail.
I'm interested in the Bitrix\Conversion\ReportContext part (that is, this is the path to the class, and which one is not clear to me ... )
enlighten the ignoramus, :)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cat Anton, 2015-10-12
@27cm

php.net/manual/en/language.namespaces.basics.php Habré
articles:
How to use namespaces in PHP, Part 1:...
How to use namespaces in PHP, Part 2:...
How to use namespaces in PHP PHP Part 3:...

A
Alexey Skobkin, 2015-10-12
@skobkin

This is called creating an object with the fully qualified name of the class. And the part you highlighted is actually this very fully qualified name of the class or something else.
27cm gave you the correct links to namespaces.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question