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
|
@@ 355-362 (lines=8) @@
|
352 |
|
* @param string $name |
353 |
|
* @return ColumnInterface |
354 |
|
*/ |
355 |
|
public function get(string $name) : ColumnInterface |
356 |
|
{ |
357 |
|
if (isset($this->children[$name])) { |
358 |
|
return $this->children[$name]; |
359 |
|
} |
360 |
|
|
361 |
|
throw new InvalidArgumentException(sprintf('The child with the name "%s" does not exist.', $name)); |
362 |
|
} |
363 |
|
|
364 |
|
/** |
365 |
|
* @param string $name |