src/Traits/MigrationLoaderTrait.php
protected function loadMigrationFiles($component)
    {
        $path = $this->laravel['components']->getComponentPath($component) . $this->getMigrationGeneratorPath();

        $files = $this->laravel['files']->glob($path . '/*_*.php');

        foreach ($files as $file) {
            $this->laravel['files']->requireOnce($file);
        }
    }
protected function loadMigrationFiles($component)
    {
        $path = $this->laravel['components']->getComponentPath($component) . $this->getMigrationGeneratorPath();

        $files = $this->laravel['files']->glob($path . '/*_*.php');

        foreach ($files as $file) {
            $this->laravel['files']->requireOnce($file);
        }
    }
protected function loadMigrationFiles ( $ component ) { $ path = $ this -> laravel [ 'components' ] -> getComponentPath ( $ component ) . $ this -> getMigrationGeneratorPath ( ) ; $ files = $ this -> laravel [ 'files' ] -> glob ( $ path . '/*_*.php' ) ; foreach ( $ files as $ file ) { $ this -> laravel [ 'files' ] -> requireOnce ( $ file ) ; } }
Include all migrations files from the specified component.

@param string $component
Include all migrations files from the specified component .