src/Model/AssociationsAwareTrait.php
private function isFootprintField(CsvField $field) : bool
    {
        if (! $this->hasBehavior('Footprint')) {
            return false;
        }

        $behavior = $this->behaviors()->get('Footprint');
        Assert::isInstanceOf($behavior, Behavior::class);

        return in_array($field->getName(), $behavior->getConfig());
    }
private function isFootprintField(CsvField $field) : bool
    {
        if (! $this->hasBehavior('Footprint')) {
            return false;
        }

        $behavior = $this->behaviors()->get('Footprint');
        Assert::isInstanceOf($behavior, Behavior::class);

        return in_array($field->getName(), $behavior->getConfig());
    }
private function isFootprintField ( CsvField $ field ) : bool { if ( ! $ this -> hasBehavior ( 'Footprint' ) ) { return false ; } $ behavior = $ this -> behaviors ( ) -> get ( 'Footprint' ) ; Assert :: isInstanceOf ( $ behavior , Behavior :: class ) ; return in_array ( $ field -> getName ( ) , $ behavior -> getConfig ( ) ) ; }
Validates whether the provided field is used in Footprint behavior.

@param \CsvMigrations\FieldHandlers\CsvField $field CSV Field instance
@return bool
Validates whether the provided field is used in Footprint behavior .