In camelCase names are written without any punctuation, the start of each new word
being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes DatabaseProvider.
Loading history...
29
public $content = '';
30
31
public function write(string $content, string $fileName): void
32
{
33
$this->content .= $content;
34
}
35
};
36
$tester = new CommandTester(new GetTestCommand(null, $writer));
Classes in PHP are usually named in CamelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes
DatabaseProvider
.