Grid/GridBuilder.php 1 location
|
@@ 82-89 (lines=8) @@
|
79 |
|
* @param string $name |
80 |
|
* @return ColumnInterface |
81 |
|
*/ |
82 |
|
public function get($name) : ColumnInterface |
83 |
|
{ |
84 |
|
if (isset($this->children[$name])) { |
85 |
|
return $this->children[$name]; |
86 |
|
} |
87 |
|
|
88 |
|
throw new InvalidArgumentException(sprintf('The child with the name "%s" does not exist.', $name)); |
89 |
|
} |
90 |
|
|
91 |
|
/** |
92 |
|
* @param string $name |
Grid/AbstractGrid.php 1 location
|
@@ 349-356 (lines=8) @@
|
346 |
|
* @param string $name |
347 |
|
* @return ColumnInterface |
348 |
|
*/ |
349 |
|
public function get(string $name) : ColumnInterface |
350 |
|
{ |
351 |
|
if (isset($this->children[$name])) { |
352 |
|
return $this->children[$name]; |
353 |
|
} |
354 |
|
|
355 |
|
throw new InvalidArgumentException(sprintf('The child with the name "%s" does not exist.', $name)); |
356 |
|
} |
357 |
|
|
358 |
|
/** |
359 |
|
* @param string $name |