src/Loaders/ArtefactsLoader.php
/**
     * Loads and returns data.
     *
     * @return \ArrayAccess The array with the data
     */
Loads and returns data.
@return \ArrayAccess The array with the data
Loads and returns data . @return \ ArrayAccess The array with the data
public function load()
    {
        $filenames = array();
        $status = $this->getRegistryProcessor()->getAttribute(RegistryKeys::STATUS);
        if (isset($status[RegistryKeys::FILES])) {
            $files = $status[RegistryKeys::FILES];
            foreach (array_keys($files) as $filename) {
                $filenames[] = $filename;
            }
        }
        return $filenames;
    }
public function load ( ) { $ filenames = array ( ) ; $ status = $ this -> getRegistryProcessor ( ) -> getAttribute ( RegistryKeys :: STATUS ) ; if ( isset ( $ status [ RegistryKeys :: FILES ] ) ) { $ files = $ status [ RegistryKeys :: FILES ] ; foreach ( array_keys ( $ files ) as $ filename ) { $ filenames [ ] = $ filename ; } } return $ filenames ; }
Loads and returns data.
Loads and returns data .
// initialize the array for the directories that has to be cleared // load the actual status // query whether or not we've import artefacts // load the import artefacts from the import status // append the files // return the directories to be cleared