src/mako/application/cli/commands/migrations/Command.php
protected function findApplicationMigrations(): array
	{
		$migrations = [];

		foreach($this->fileSystem->glob($this->application->getPath() . '/migrations/*.php') as $migration)
		{
			$migrations[] = (object) ['package' => null, 'version' => $this->getBasename($migration)];
		}

		return $migrations;
	}
protected function findApplicationMigrations(): array
	{
		$migrations = [];

		foreach($this->fileSystem->glob($this->application->getPath() . '/migrations/*.php') as $migration)
		{
			$migrations[] = (object) ['package' => null, 'version' => $this->getBasename($migration)];
		}

		return $migrations;
	}
protected function findApplicationMigrations ( ) : array { $ migrations = [ ] ; foreach ( $ this -> fileSystem -> glob ( $ this -> application -> getPath ( ) . '/migrations/*.php' ) as $ migration ) { $ migrations [ ] = ( object ) [ 'package' => null , 'version' => $ this -> getBasename ( $ migration ) ] ; } return $ migrations ; }
Returns all application migrations.

@return array
Returns all application migrations .