/** * Initializes a new ArrayCollection. * * @param UseClass[] $elements */ public function __construct(array $elements = array()) { parent::__construct($elements); $this->init(); }