Grid/AbstractGrid.php 1 location
|
@@ 341-348 (lines=8) @@
|
338 |
|
* @param string $name |
339 |
|
* @return ColumnInterface |
340 |
|
*/ |
341 |
|
public function get(string $name) : ColumnInterface |
342 |
|
{ |
343 |
|
if (isset($this->children[$name])) { |
344 |
|
return $this->children[$name]; |
345 |
|
} |
346 |
|
|
347 |
|
throw new InvalidArgumentException(sprintf('The child with the name "%s" does not exist.', $name)); |
348 |
|
} |
349 |
|
|
350 |
|
/** |
351 |
|
* @param string $name |
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 |