I came across the following code today while doing a code review.
The new instance pass the $this parameter, but I don't never see this variable in the class.
What does $this parameter pass to the Select instance ?
Code: Select all
public function select(array $columns = ['*']): Statement\Select
{
return new Statement\Select($this, $columns);
}