src/Loaders/ProposedOkFilenameLoader.php
/**
     * Returns the values to create the regex pattern from.
     *
     * @return array The array with the pattern values
     * @todo Refactorig required, because of duplicate method
     * @see \TechDivision\Import\Loaders\Filters\OkFileFilter::resolvePatternValues()
     */
Returns the values to create the regex pattern from.
Returns the values to create the regex pattern from .
protected function resolvePatternValues() : array
    {
        $elements = array();
        foreach ($this->getPatternKeys() as $element) {
            $elements[] = sprintf('(?<%s>%s)', $element, $this->resolvePatternValue($element));
        }
        return $elements;
    }
protected function resolvePatternValues ( ) : array { $ elements = array ( ) ; foreach ( $ this -> getPatternKeys ( ) as $ element ) { $ elements [ ] = sprintf ( '(?<%s>%s)' , $ element , $ this -> resolvePatternValue ( $ element ) ) ; } return $ elements ; }
Returns the values to create the regex pattern from.
Returns the values to create the regex pattern from .
// initialize the array // prepare the pattern values // return the pattern values