plugin/dropzone/Entity/Dropzone.php
public function addCriterion(Criterion $criterion)
    {
        $criterion->setDropzone($this);
        $this->peerReviewCriteria[] = $criterion;

        return $this;
    }
public function addCriterion(Criterion $criterion)
    {
        $criterion->setDropzone($this);
        $this->peerReviewCriteria[] = $criterion;

        return $this;
    }
public function addCriterion ( Criterion $ criterion ) { $ criterion -> setDropzone ( $ this ) ; $ this -> peerReviewCriteria [ ] = $ criterion ; return $ this ; }
Add criterion.

@param \Icap\DropzoneBundle\Entity\Criterion $criterion

@return Dropzone
Add criterion .