Copied!
Abstract
Methods
public Maknz\Slack\Payload::__construct(array $attributes)
 

Instantiate a new payload.

  • param array $attributes
public static factory(array $attributes)
 

Create a Block element from a keyed array of attributes.

  • param array $attributes
  • return \Block
  • throws \InvalidArgumentException
public getBlockId()
 

Get the block identifier.

  • return string
public getType()
 

Get the block type.

  • return string
public setBlockId( $blockId)
 

Set the block identifier.

  • param string $blockId
  • return $this
public abstract Maknz\Slack\Payload::toArray()
 

Convert this payload to its array representation.

  • return array
Properties
protected static Maknz\Slack\Payload::$availableAttributes = []
 

Internal attribute to property map.

  • var array
protected $block_id = NULL
 

Block identifier.

  • var string
protected $type = NULL
 

Block type.

  • var string
Methods
protected Maknz\Slack\Payload::fillProperties(array $attributes) : self
 
  • param array $attributes
  • return $this
Properties
protected static Maknz\Slack\Payload::$availableAttributes = []
 

Internal attribute to property map.

  • var array
Methods
public static factory(array $attributes)
 

Create a Block element from a keyed array of attributes.

  • param array $attributes
  • return \Block
  • throws \InvalidArgumentException
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration