Copied!
Trait
Methods
public getAltText()
 

Get the alternative text for the image.

  • return string
public getTitle()
 

Get the image title.

  • return \Maknz\Slack\BlockElement\Text
public getUrl()
 

Get the image URL.

  • return string
public setAltText( $text)
 

Set the alternative text for the image.

  • param mixed $text
  • return $this
public setTitle( $title)
 

Set the image title.

  • param mixed $title
  • return $this
  • throws \InvalidArgumentException
public setUrl( $url)
 

Set the image URL.

  • param string $url
  • return $this
Properties
protected $alt_text = NULL
 

The alternative text for the image.

  • var string
protected $title = NULL
 

The image title.

  • var \Maknz\Slack\BlockElement\Text
protected $url = NULL
 

The image URL.

  • var string
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration