\Iqrf\IdeMacrosMacroFileParser

IQRF IDE Macro file parser

Summary

Methods
Properties
Constants
__construct()
read()
getMacroSize()
toArray()
$version
$description
$type
$groups
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$version

$version : 

Type

— IQRF IDE Macro's file version

$description

$description : 

Type

— IQRF IDE Macro's file description

$type

$type : 

Type

— IQRF IDE Macro's file type

$groups

$groups : \Iqrf\IdeMacros\Group||string|int

Type

\Iqrf\IdeMacros\Group||string|int — IQRF IDE Macro's groups

Methods

__construct()

__construct(string  fileName) : 

Parameters

string fileName

Returns

read()

read() : \Iqrf\IdeMacros\Group||string|int

Read IQRF IDE Macro's file and parse it

Returns

\Iqrf\IdeMacros\Group||string|int —

Parsed macros

getMacroSize()

getMacroSize() : 

Returns IQRF IDE Macro's size

Returns

IQRF IDE Macro's size

toArray()

toArray(mixed||string|int  macros) : mixed||string|int

Convert objects into arrays

Parameters

mixed||string|int macros

IQRF IDE Macros in an array of objects

Returns

mixed||string|int —

IQRF IDE Macros in an array