Copied!
Trait
Methods
public addOption( $option)
 

Add an option to the block.

  • param mixed $option
  • return $this
  • throws \InvalidArgumentException
public clearOptions()
 

Clear options available within the block.

  • return $this
public getOptions()
 

Get options available within the block.

  • return \Maknz\Slack\Object\Option[]
public getOptionsAsArrays()
 

Get options available within the block in array format.

  • return array
public setOptions(array $options)
 

Set options available within the block.

  • param array $options
  • return $this
  • throws \InvalidArgumentException
Properties
protected $options = []
 

Options available within the block.

  • var \Maknz\Slack\Object\Option[]
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration