: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\View;
use Nextend\Framework\Controller\AbstractController;
use Nextend\Framework\Pattern\GetPathTrait;
use Nextend\Framework\Pattern\MVCHelperTrait;
abstract class AbstractViewAjax {
/** @var AbstractController */
* AbstractViewAjax constructor.
* @param AbstractController $controller
public function __construct($controller) {
$this->controller = $controller;
$this->setMVCHelper($controller);
protected function render($templateName) {
include self::getPath() . '/Template/' . $templateName . '.php';
public abstract function display();