__construct() public méthode

Instantiates the collection by specifying what type of Object will be used.
public __construct ( $type, array $items = [] )
$type
$items array
 /**
  * Instantiates the collection by specifying what type of Object will be used.
  *
  * @param string $objectName Name of the class or interface used in the Collection
  */
 public function __construct($objectName = "{{foo}}")
 {
     parent::__construct($objectName);
 }
 /**
  * ProcessingCheckCollection constructor.
  */
 public function __construct()
 {
     parent::__construct(static::OBJECT_CLASS);
 }