/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php
// We need to grab the PDO options that should be used while making the brand
// new connection instance. The PDO options control various aspects of the
// connection's behavior, and some might be specified by the developers.
$connection = $this->createConnection($dsn, $config, $options);
if (isset($config['database'])) {
$connection->exec("use `{$config['database']}`;");
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php
// We need to grab the PDO options that should be used while making the brand
// new connection instance. The PDO options control various aspects of the
// connection's behavior, and some might be specified by the developers.
$connection = $this->createConnection($dsn, $config, $options);
if (isset($config['database'])) {
$connection->exec("use `{$config['database']}`;");
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
return $this->createReadWriteConnection($config);
}
return $this->createSingleConnection($config);
}
protected function createSingleConnection(array $config)
{
$pdo = function () use($config) {
return $this->createConnector($config)->connect($config);
};
return $this->createConnection($config['driver'], $pdo, $config['database'], $config['prefix'], $config);
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
* Get the current PDO connection.
*
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call__func($this->pdo);
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
/**
* Reconnect to the database if a PDO connection is missing.
*
* @return void
*/
protected function reconnectIfMissingConnection()
{
if (is_null($this->getPdo()) || is_null($this->getReadPdo())) {
$this->reconnect();
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function run($query, $bindings, Closure $callback)
{
$this->reconnectIfMissingConnection();
$start = microtime(true);
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
$statement->execute($me->prepareBindings($bindings));
$fetchArgument = $me->getFetchArgument();
return isset($fetchArgument) ?
$statement->fetchAll($me->getFetchMode(), $fetchArgument, $me->getFetchConstructorArgument()) :
$statement->fetchAll($me->getFetchMode());
});
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
/**
* Run the query as a "select" statement against the connection.
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select($this->toSql(), $this->getBindings(), ! $this->useWritePdo);
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
{
$original = $this->columns;
if (is_null($original)) {
$this->columns = $columns;
}
$results = $this->processor->processSelect($this, $this->runSelect());
$this->columns = $original;
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
* Get the hydrated models without eager loading.
*
* @param array $columns
* @return \Illuminate\Database\Eloquent\Model[]
*/
public function getModels($columns = ['*'])
{
$results = $this->query->get($columns);
$connection = $this->model->getConnectionName();
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
* @param array $columns
* @return \Illuminate\Database\Eloquent\Collection|static[]
*/
public function get($columns = ['*'])
{
$builder = $this->applyScopes();
$models = $builder->getModels($columns);
// If we actually found models we will also eager load any relationships that
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
$instance = new static();
return $instance->newQuery()->useWritePdo();
}
public static function all($columns = ['*'])
{
$columns = is_array($columns) ? $columns : func_get_args();
$instance = new static();
return $instance->newQuery()->get($columns);
}
public function fresh($with = [])
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/app/Core/Providers/AppServiceProvider.php
Carregar namespaces aplicação
*/
public function boot()
{
$this->loadViewsFrom(__DIR__.'/../../Dashboard/resources/views', 'dash');
$this->loadViewsFrom(__DIR__.'/../../Site/resources/views', 'site');
view()->share('menulegislaturas', Legislatura::all());
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
}
public function call($callback, array $parameters = [], $defaultMethod = null)
{
if ($this->isCallableWithAtSign($callback) || $defaultMethod) {
return $this->callClass($callback, $parameters, $defaultMethod);
}
$dependencies = $this->getMethodDependencies($callback, $parameters);
return call__func_array($callback, $dependencies);
}
protected function isCallableWithAtSign($callback)
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
});
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
}
protected function bootProvider(ServiceProvider $provider)
{
if (method_exists($provider, 'boot')) {
return $this->call([$provider, 'boot']);
}
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
public function boot()
{
if ($this->booted) {
return;
}
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
{
if ($this->booted) {
return;
}
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
namespace Illuminate\Foundation\Bootstrap {
use Illuminate\Contracts\Foundation\Application;
class BootProviders
{
public function bootstrap(Application $app)
{
$app->boot();
}
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
$this->(new RoutingServiceProvider($this));
}
public function bootstrapWith(array $bootstrappers)
{
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->fire('bootstrapping: ' . $bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->fire('bootstrapped: ' . $bootstrapper, [$this]);
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
$this->middleware[] = $middleware;
}
return $this;
}
public function bootstrap()
{
if (!$this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
$this->app['events']->fire('kernel.handled', [$request, $response]);
return $response;
}
protected function sendRequestThroughRouter($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))->send($request)->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)->then($this->dispatchToRouter());
}
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/bootstrap/cache/compiled.php
$router->middleware($key, $middleware);
}
}
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
/home/u197559517/domains/cmtaquarucudosul-br.noticiasgauchas.com/public_html/public/index.php
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);