<?php
namespace Models\Blog;
use R;
use Lib\Util;
use Models\Decorators\Model;
use Serializable;
use JsonSerializable;
class Post implements Serializable, JsonSerializable {
private $categorias = null;
private $relacionados = null;
use Model {
__isset as protected __issetTrait;
__get as protected __getTrait;
JsonSerialize as protected JsonSerializeTrait;
}
public function __isset($key) {
if ('categorias' == $key) {
return true;
}
if ('relacionados' == $key) {
return true;
}
return $this->__issetTrait($key);
}
public function __get($key) {
if ('categorias' == $key) {
return $this->getCategorias();
}
if ('relacionados' == $key) {
return $this->getRelacionados();
}
return $this->__getTrait($key);
}
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
// If we are not currently registered, we should not do anything
if (!$this->isRegistered) {
return;
}
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param InspectorFactoryInterface $factory
*
* @return void
*/
public function setInspectorFactory(InspectorFactoryInterface $factory)
{
$this->inspectorFactory = $factory;
}
public function addFrameFilter($filterCallback)
| Key | Value |
| orig_referer |
| Key | Value |
| ADMIN_SECRET | sgt357 |
| WHOOPS_ENABLED | true |
| APP_DEBUG | true |
| TRANSLATE_ENABLED | 0 |
| HOSTNAME | 96b162cc0bb1 |
| PHP_INI_DIR | /usr/local/etc/php |
| DB_REMOTE_HOST | mysql.cidepe.com.br |
| HOME | / |
| DB_NAME | staging |
| LANGUAGES | br |
| PHP_LDFLAGS | -Wl,-O1 -pie |
| DB_HOST_PATTERN | cidepe.com.br |
| ADMIN_SESSION_NAME | cidepe |
| PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| DEV_EMAIL | fabio@studiogt.com.br |
| PHP_VERSION | 8.4.8 |
| GPG_KEYS | AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD |
| PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| PHP_ASC_URL | https://www.php.net/distributions/php-8.4.8.tar.xz.asc |
| PHP_URL | https://www.php.net/distributions/php-8.4.8.tar.xz |
| DEV_NAME | "Fábio Dias" |
| VENDOR_SITE | http://wwww.studiogt.com.br |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| STORAGE_FILES | _files |
| CLOUDINARY_EMAIL | |
| DB_PASS | sgt357 |
| PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
| PWD | /var/www/html |
| PHP_SHA256 | aa6a4d330b47eacd83e351658ba8c47747a1e4356456219cfb6d75e7838da091 |
| CLOUDINARY_SENHA | |
| STORAGE_CACHE | site/_cache |
| DB_HOST | mysql.cidepe.com.br |
| CLOUDINARY_CLOUD_NAME | |
| DB_USER | staging |
| ADMIN_APP_NAME | Cidepe |
| PATH_TRANSLATED | redirect:/./index.php/br/blog/blog |
| PATH_INFO | /br/blog |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /br/blog |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /br/blog |
| REMOTE_PORT | 60920 |
| SCRIPT_FILENAME | /var/www/html/index.php |
| SERVER_ADMIN | [no address given] |
| CONTEXT_DOCUMENT_ROOT | /var/www/html |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /var/www/html |
| REMOTE_ADDR | 172.18.0.13 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.18.0.16 |
| SERVER_NAME | novo.cidepe.com.br |
| SERVER_SOFTWARE | Apache/2.4.63 (Debian) |
| SERVER_SIGNATURE | <address>Apache/2.4.63 (Debian) Server at novo.cidepe.com.br Port 80</address> |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_X_REAL_IP | 216.73.217.97 |
| HTTP_X_FORWARDED_FOR | 216.73.217.97 |
| HTTP_X_FORWARDED_PROTO | https |
| HTTP_X_FORWARDED_SCHEME | https |
| HTTP_HOST | novo.cidepe.com.br |
| proxy-nokeepalive | 1 |
| REDIRECT_STATUS | 200 |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php/br/blog |
| REQUEST_TIME_FLOAT | 1777305698.6822 |
| REQUEST_TIME | 1777305698 |
| argv | Array ( ) |
| argc | 0 |
| HTTPS | on |
| Key | Value |
| ADMIN_SECRET | sgt357 |
| WHOOPS_ENABLED | true |
| APP_DEBUG | true |
| TRANSLATE_ENABLED | 0 |
| HOSTNAME | 96b162cc0bb1 |
| PHP_INI_DIR | /usr/local/etc/php |
| DB_REMOTE_HOST | mysql.cidepe.com.br |
| HOME | / |
| DB_NAME | staging |
| LANGUAGES | br |
| PHP_LDFLAGS | -Wl,-O1 -pie |
| DB_HOST_PATTERN | cidepe.com.br |
| ADMIN_SESSION_NAME | cidepe |
| PHP_CFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| DEV_EMAIL | fabio@studiogt.com.br |
| PHP_VERSION | 8.4.8 |
| GPG_KEYS | AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD |
| PHP_CPPFLAGS | -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| PHP_ASC_URL | https://www.php.net/distributions/php-8.4.8.tar.xz.asc |
| PHP_URL | https://www.php.net/distributions/php-8.4.8.tar.xz |
| DEV_NAME | "Fábio Dias" |
| VENDOR_SITE | http://wwww.studiogt.com.br |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| STORAGE_FILES | _files |
| CLOUDINARY_EMAIL | |
| DB_PASS | sgt357 |
| PHPIZE_DEPS | autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c |
| PWD | /var/www/html |
| PHP_SHA256 | aa6a4d330b47eacd83e351658ba8c47747a1e4356456219cfb6d75e7838da091 |
| CLOUDINARY_SENHA | |
| STORAGE_CACHE | site/_cache |
| DB_HOST | mysql.cidepe.com.br |
| CLOUDINARY_CLOUD_NAME | |
| DB_USER | staging |
| ADMIN_APP_NAME | Cidepe |
| PATH_TRANSLATED | redirect:/./index.php/br/blog/blog |
| PATH_INFO | /br/blog |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /br/blog |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /br/blog |
| REMOTE_PORT | 60920 |
| SCRIPT_FILENAME | /var/www/html/index.php |
| SERVER_ADMIN | [no address given] |
| CONTEXT_DOCUMENT_ROOT | /var/www/html |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /var/www/html |
| REMOTE_ADDR | 172.18.0.13 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.18.0.16 |
| SERVER_NAME | novo.cidepe.com.br |
| SERVER_SOFTWARE | Apache/2.4.63 (Debian) |
| SERVER_SIGNATURE | <address>Apache/2.4.63 (Debian) Server at novo.cidepe.com.br Port 80</address> |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_X_REAL_IP | 216.73.217.97 |
| HTTP_X_FORWARDED_FOR | 216.73.217.97 |
| HTTP_X_FORWARDED_PROTO | https |
| HTTP_X_FORWARDED_SCHEME | https |
| HTTP_HOST | novo.cidepe.com.br |
| proxy-nokeepalive | 1 |
| REDIRECT_STATUS | 200 |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php/br/blog |
| REQUEST_TIME_FLOAT | 1777305698.6822 |
| REQUEST_TIME | 1777305698 |
| argv | Array ( ) |
| argc | 0 |
| application | Array ( [path] => site [data] => Array ( [week] => Array ( [0] => Domingo [1] => Segunda-feira [2] => Terça-feira [3] => Quarta-feira [4] => Quinta-feira [5] => Sexta-feira [6] => Sábado ) [month] => Array ( [0] => [1] => Janeiro [2] => Fevereiro [3] => Março [4] => Abril [5] => Maio [6] => Junho [7] => Julho [8] => Agosto [9] => Setembro [10] => Outubro [11] => Novembro [12] => Dezembro ) [monthr] => Array ( [0] => [1] => Jan [2] => Fev [3] => Mar [4] => Abr [5] => Mai [6] => Jun [7] => Jul [8] => Ago [9] => Set [10] => Out [11] => Nov [12] => Dez ) ) ) |
| referer | |
| app | stdClass Object ( [name] => Cidepe [debug] => 1 [debug_email] => fabio@studiogt.com.br ) |
| languages | Array ( [3] => br [2] => en [1] => es ) |
| hosts | Array ( [2] => localhost [1] => drop.studiogt.com.br ) |
| language | br |