123456789101112131415161718 |
- <?php
- namespace App\Handlers;
- trait ToolsHandler
- {
- public static function stitching($arr, $offset, $length = false)
- {
- if ($length === false) return implode('', array_slice($arr, $offset));
- return implode('', array_slice($arr, $offset, $length));
- }
- }
|