Platformsh\Cli\Command\CompletionCommand::getAppNames PHP Метод

getAppNames() публичный Метод

Get a list of application names in the local project.
public getAppNames ( ) : string[]
Результат string[]
    public function getAppNames()
    {
        $apps = [];
        if ($projectRoot = $this->welcomeCommand->getProjectRoot()) {
            foreach (LocalApplication::getApplications($projectRoot) as $app) {
                $name = $app->getName();
                if ($name !== null) {
                    $apps[] = $name;
                }
            }
        }
        return $apps;
    }