src/Zen/FileSelectionZen.php
public function parseValue($value)
    {
        if ($this->multiple) {
            $ret = array();

            foreach(explode($this->separator, $value) as $path) {
                $ret[] = new SplFileInfo($path);
            }

            return $ret;
        }
        return new SplFileInfo($value);
    }
public function parseValue($value)
    {
        if ($this->multiple) {
            $ret = array();

            foreach(explode($this->separator, $value) as $path) {
                $ret[] = new SplFileInfo($path);
            }

            return $ret;
        }
        return new SplFileInfo($value);
    }
public function parseValue ( $ value ) { if ( $ this -> multiple ) { $ ret = array ( ) ; foreach ( explode ( $ this -> separator , $ value ) as $ path ) { $ ret [ ] = new SplFileInfo ( $ path ) ; } return $ ret ; } return new SplFileInfo ( $ value ) ; }
Parses the path string returned from the dialog into a SplFileInfo object

Usually, this will return a single SplFileInfo object.

If the `setMultiple(true)` option is active, this will return an array
of SplFileInfo objects instead. The size of the array depends on the
number of files selected by the user.

@internal
@see parent::parseValue()
@return SplFileInfo|SplFileInfo[] a single or any number of SplFileInfo objects depending on the multiple setting
@see FileSelectionDialog::setMultiple()
Parses the path string returned from the dialog into a SplFileInfo object