I am .net developer just started to work on PHP project with Laravel framework. In .net, we can create List frequently. What is the alternate way of doing same in PHP. After that, I want to pass that list as method parameter & accessing list items. I searched on google but can't find anything suitable. I know this may be very basic question from the view point of PHP developers. But I am still in confusion & can not proceed with my work.
eg in .net code, we create list object as -
public List<ReaderInfo> readerInfo = null;
To pass that list object in method -
InitReaderInfo(readerInfo);
Method definition is written as -
public void InitReaderInfo(List<ReaderInfo> reader)
Now, I want to convert the same in PHP. Any suggestion?