I came across a block of code in a class like this:
...
public function __construct(
PDO $pdo,
CommonSqlQueries $csq
) {
...
What is the meaning of the string such as PDO
before the variable $pdo
? I don't even know what this sort of syntax is called, much less how to research it.