Overview

Namespaces

  • Evenement
  • None
  • Peridot
    • Console
    • Core
    • Reporter
    • Runner
    • Scope
    • Test
  • Symfony
    • Component
      • Console
        • Command
        • Descriptor
        • Event
        • Exception
        • Formatter
        • Helper
        • Input
        • Logger
        • Output
        • Question
        • Style
        • Tester
        • Tests
          • Command
          • Descriptor
          • Fixtures
          • Formatter
          • Helper
          • Input
          • Logger
          • Output
          • Style
          • Tester

Classes

  • Application
  • CliOptionParser
  • Command
  • ConfigurationReader
  • Environment
  • InputDefinition
  • Version
  • Overview
  • Namespace
  • Class

Class CliOptionParser

The CliOptionParser parser searches an array of arguments for the specified options and returns their values.

Namespace: Peridot\Console
Package: Peridot\Console
Located at Console/CliOptionParser.php
Methods summary
public
# __construct( array $search, array $arguments )

Var

array $search
array $arguments
public array
# parse( )

Parse arguments to find any options specified in the search array

Parse arguments to find any options specified in the search array

Returns

array
$parsed
Properties summary
protected array $search

CLI options to search for

CLI options to search for

#
protected array $arguments

The CLI arguments to search against

The CLI arguments to search against

#
Peridot API documentation generated by ApiGen