Skip to content

Commit f300c77

Browse files
Update Datatable.php
1 parent 92a6e68 commit f300c77

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Datatable.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,6 @@ function placeholder()
6363
</div>
6464
HTML;
6565
}
66-
/**
67-
* The `mount` function in PHP is used to assign values to object properties and then call the
68-
* `setup` method.
69-
*
70-
* @param properties An array of key-value pairs representing the properties to be set on the
71-
* object.
72-
*/
73-
public function mount($properties = [])
74-
{
75-
foreach ($properties as $key => $value) {
76-
$this->{$key} = $value;
77-
}
78-
$this->setup();
79-
}
8066

8167
/**
8268
* The setup function initializes the columns and filters of a class based on the table and filter

0 commit comments

Comments
 (0)