Doctrine\Common\Collections\ArrayCollection::createFrom PHP 메소드

createFrom() 보호된 메소드

This method is provided for derived classes to specify how a new instance should be created when constructor semantics have changed.
protected createFrom ( array $elements ) : static
$elements array Elements.
리턴 static
    protected function createFrom(array $elements)
    {
        return new static($elements);
    }