: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Pattern;
use Nextend\Framework\Platform\Platform;
use Nextend\Framework\Url\Url;
trait GetAssetsPathTrait {
public static function getAssetsPath() {
return Platform::filterAssetsPath(self::getPath() . '/Assets');
public static function getAssetsUri() {
return Url::pathToUri(self::getAssetsPath());