@@ 74-78 (lines=5) @@ | ||
71 | // handle initializer |
|
72 | if (!empty($definition[self::INITIALIZERS_LABEL])) { |
|
73 | foreach ($definition[self::INITIALIZERS_LABEL] as $initializer) { |
|
74 | if (empty($initializer[self::DATA_LABEL])) { |
|
75 | throw new DumperException("Defintion has " . |
|
76 | self::INITIALIZERS_LABEL . " but no " . self::DATA_LABEL . " node" |
|
77 | ); |
|
78 | } |
|
79 | if (empty($initializer[self::TARGET_LABEL])) { |
|
80 | throw new DumperException("Defintion has " . |
|
81 | self::INITIALIZERS_LABEL . " but no " . self::TARGET_LABEL . " node" |
|
@@ 79-83 (lines=5) @@ | ||
76 | self::INITIALIZERS_LABEL . " but no " . self::DATA_LABEL . " node" |
|
77 | ); |
|
78 | } |
|
79 | if (empty($initializer[self::TARGET_LABEL])) { |
|
80 | throw new DumperException("Defintion has " . |
|
81 | self::INITIALIZERS_LABEL . " but no " . self::TARGET_LABEL . " node" |
|
82 | ); |
|
83 | } |
|
84 | array_push( |
|
85 | $fbp, |
|
86 | self::connectPorts( |