public function getMigrations() { if ($this->_tmpName !== null) { $name = $this->_tmpName; } else { $name = $this->_model->classNameShort(); } return glob($this->_path . '/' . $name . '_*.json'); }