<?php array_intersect(array $array, array ...$arrays): array
<?php private function hiddenColumns(array $columns) { return array_intersect( array_keys($columns), [ 'password', 'remember_token', ] ); } private function castableColumns(array $columns)
<?php $routes .= PHP_EOL; } $resource_methods = array_intersect($methods, Controller::$resourceMethods); if (count($resource_methods)) { $routes .= $controller->isApiResource() ? sprintf("Route::apiResource('%s', %s)", $slug, $className)