PHP Linked List with end and start List Node pointers

<?php class ListNode { public $data = NULL; public $next = NULL; function __construct(string $data = NULL) { $this->data = $data; } } class LinkedList { private $_firstNode = NULL; private $_lastNode = NULL; private $_totalNodes = 0; function insert(string $data =...