protected function initialize(array $splFileInfoObjects = [])
    {
        if (!empty($splFileInfoObjects)) {
            foreach ($splFileInfoObjects as $object) {
                array_push($this->fileObjects, $this->createSplFileInfoObject($object));
            }
        }
    }
protected function initialize(array $splFileInfoObjects = [])
    {
        if (!empty($splFileInfoObjects)) {
            foreach ($splFileInfoObjects as $object) {
                array_push($this->fileObjects, $this->createSplFileInfoObject($object));
            }
        }
    }
protected function initialize ( array $ splFileInfoObjects = [ ] ) { if ( ! empty ( $ splFileInfoObjects ) ) { foreach ( $ splFileInfoObjects as $ object ) { array_push ( $ this -> fileObjects , $ this -> createSplFileInfoObject ( $ object ) ) ; } } }
Set up the bag with a proper array of SplFileInfo objects
@param array $splFileInfoObjects
@internal param $arrayOfSplFileInfoObjects
Set up the bag with a proper array of SplFileInfo objects