platform/api/laravel/Mail/Mailables/Content.yaml
2024-09-02 10:44:11 -07:00

159 lines
3.6 KiB
YAML

name: Content
class_comment: null
dependencies:
- name: Conditionable
type: class
source: Illuminate\Support\Traits\Conditionable
- name: Conditionable
type: class
source: Conditionable
properties:
- name: view
visibility: public
comment: '# * The Blade view that should be rendered for the mailable.
# *
# * @var string|null'
- name: html
visibility: public
comment: '# * The Blade view that should be rendered for the mailable.
# *
# * Alternative syntax for "view".
# *
# * @var string|null'
- name: text
visibility: public
comment: '# * The Blade view that represents the text version of the message.
# *
# * @var string|null'
- name: markdown
visibility: public
comment: '# * The Blade view that represents the Markdown version of the message.
# *
# * @var string|null'
- name: htmlString
visibility: public
comment: '# * The pre-rendered HTML of the message.
# *
# * @var string|null'
- name: with
visibility: public
comment: '# * The message''s view data.
# *
# * @var array'
methods:
- name: __construct
visibility: public
parameters:
- name: view
default: 'null'
- name: html
default: 'null'
- name: text
default: 'null'
- name: markdown
default: 'null'
- name: with
default: '[]'
- name: htmlString
default: 'null'
comment: "# * The Blade view that should be rendered for the mailable.\n# *\n# *\
\ @var string|null\n# */\n# public $view;\n# \n# /**\n# * The Blade view that\
\ should be rendered for the mailable.\n# *\n# * Alternative syntax for \"view\"\
.\n# *\n# * @var string|null\n# */\n# public $html;\n# \n# /**\n# * The Blade\
\ view that represents the text version of the message.\n# *\n# * @var string|null\n\
# */\n# public $text;\n# \n# /**\n# * The Blade view that represents the Markdown\
\ version of the message.\n# *\n# * @var string|null\n# */\n# public $markdown;\n\
# \n# /**\n# * The pre-rendered HTML of the message.\n# *\n# * @var string|null\n\
# */\n# public $htmlString;\n# \n# /**\n# * The message's view data.\n# *\n# *\
\ @var array\n# */\n# public $with;\n# \n# /**\n# * Create a new content definition.\n\
# *\n# * @param string|null $view\n# * @param string|null $html\n# * @param\
\ string|null $text\n# * @param string|null $markdown\n# * @param array \
\ $with\n# * @param string|null $htmlString\n# *\n# * @named-arguments-supported"
- name: view
visibility: public
parameters:
- name: view
comment: '# * Set the view for the message.
# *
# * @param string $view
# * @return $this'
- name: html
visibility: public
parameters:
- name: view
comment: '# * Set the view for the message.
# *
# * @param string $view
# * @return $this'
- name: text
visibility: public
parameters:
- name: view
comment: '# * Set the plain text view for the message.
# *
# * @param string $view
# * @return $this'
- name: markdown
visibility: public
parameters:
- name: view
comment: '# * Set the Markdown view for the message.
# *
# * @param string $view
# * @return $this'
- name: htmlString
visibility: public
parameters:
- name: html
comment: '# * Set the pre-rendered HTML for the message.
# *
# * @param string $html
# * @return $this'
- name: with
visibility: public
parameters:
- name: key
- name: value
default: 'null'
comment: '# * Add a piece of view data to the message.
# *
# * @param array|string $key
# * @param mixed|null $value
# * @return $this'
traits:
- Illuminate\Support\Traits\Conditionable
- Conditionable
interfaces: []