src/FieldHandlers/FieldHandlerFactory.php
public static function getByTableField($table, string $field, array $options = [], ?View $view = null) : FieldHandlerInterface
    {
        $table = is_string($table) ? TableRegistry::get($table) : $table;
        $handler = self::getHandler($table, $field, $options, $view);

        return $handler;
    }
public static function getByTableField($table, string $field, array $options = [], ?View $view = null) : FieldHandlerInterface
    {
        $table = is_string($table) ? TableRegistry::get($table) : $table;
        $handler = self::getHandler($table, $field, $options, $view);

        return $handler;
    }
public static function getByTableField ( $ table , string $ field , array $ options = [ ] , ? View $ view = null ) : FieldHandlerInterface { $ table = is_string ( $ table ) ? TableRegistry :: get ( $ table ) : $ table ; $ handler = self :: getHandler ( $ table , $ field , $ options , $ view ) ; return $ handler ; }
Get an instance of field handler for given table field.

@param mixed $table Table name or instance of \Cake\ORM\Table
@param string $field Field name
@param mixed[] $options Field handler options
@param \Cake\View\View|null $view CakePHP view instance
@return \CsvMigrations\FieldHandlers\FieldHandlerInterface
Get an instance of field handler for given table field .