Zend\View\Helper\HeadScript::createData
Create data item containing all necessary components of script
Signature
public function createData(string
$type,
[array
$attributes = null,
[string
$content = null]] )
Parameters
$type
— string- Type of data
$attributes
— array- Attributes of data
$content
— string- Content of data
Returns
- stdClass