PartKeepr\ImportBundle\Configuration\OneToManyConfiguration::import PHP Method

import() public method

public import ( $row )
    public function import($row)
    {
        switch ($this->importBehaviour) {
            case self::IMPORTBEHAVIOUR_IGNORE:
                return null;
                break;
            case self::IMPORTBEHAVIOUR_CREATENEW:
                $this->log(sprintf("Would create a new entity of type %s for relation %s", $this->baseEntity, $this->getAssociationName()));
                return parent::import($row);
                break;
        }
        return null;
    }