Platformsh\Cli\Command\Environment\EnvironmentRelationshipsCommand::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
        $this->setName('environment:relationships')->setAliases(['relationships'])->setDescription('Show an environment\'s relationships')->addArgument('environment', InputArgument::OPTIONAL, 'The environment')->addOption('property', 'P', InputOption::VALUE_REQUIRED, 'The relationship property to view')->addOption('refresh', null, InputOption::VALUE_REQUIRED, 'Whether to refresh the relationships', '0');
        $this->addProjectOption()->addEnvironmentOption()->addAppOption();
        $this->addExample("View all the current environment's relationships");
        $this->addExample("View the 'master' environment's relationships", 'master');
        $this->addExample("View the 'master' environment's database port", 'master --property database.0.port');
    }
EnvironmentRelationshipsCommand