Lines Matching refs:data
11 * This class does not write any files, but only provides the data for the actual file creation.
34 * Initialize the skeletor from provided data
78 $data = file($dir . '/' . $type . '.info.txt', FILE_IGNORE_NEW_LINES);
79 $data = array_map(function ($item) {
81 }, $data);
82 $data = array_combine(array_column($data, 0), array_column($data, 1));
84 return new self($type, $data['base'], $data['desc'], $data['author'], $data['email'], $data['url']);
218 $data = [
230 return array_merge($data, $replacements);