text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html lang="en">
<head>
<title> @yield('title') </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.google... |
<?php
namespace Cms\MainBundle;
use Doctrine\Bundle\PHPCRBundle\DependencyInjection\Compiler\DoctrinePhpcrMappingsPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CmsMainBundle extends Bundle{
public function build(ContainerBuilder $containe... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Sales_report extends CI_Controller {
public function __construct(){
parent:: __construct();
$this->load->library('form_validation');
}
public function index(){
$this->load->library("pHP_AES_Cipher");
$this->load->model("appid_mo... |
<?php
namespace App\Scans;
class Https extends BaseScan implements ScanInterface
{
protected $name = 'HTTPS only';
public function perform($console, $domain)
{
// Filter the protocol from the domain.
$domain = str_replace(['http://', 'https://'], ['', ''], $domain);
// Check ... |
<?php
/***************************************************************************************************************************/
/**
BASALT Extension Layer
© Copyright 2118, Little Green Viper Software Development LLC.
This code is proprietary and confidential code,
It is NOT to be reused ... |
<?php
namespace App\Http\Controllers;
use App\About;
use Illuminate\Http\Request;
class AboutController extends Controller
{
public function addAbout(){
return view('admin.about.add-about');
}
public function manageAbout(){
$allAbouts= About::all();
return view('admin.about.manage... |
<?php
namespace Czende\GoPayPlugin\Api;
/**
* @author Jan Czernin <jan.czernin@gmail.com>
*/
interface GoPayApiInterface {
const CREATED = 'CREATED';
const PAID = 'PAID';
const CANCELED = 'CANCELED';
const TIMEOUTED = 'TIMEOUTED';
/**
* @param $goId
* @param $clientId
* @param $... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('refunds', function (Blu... |
<?php
/**
* Author: Pavel Petrov <itnelo@gmail.com>
* Date: 06.05.16 20:59
*/
namespace admin\modules\forum\controllers;
use Yii;
use app\helpers\RouteHelper;
use app\modules\admin\components\Controller;
class SectionController extends Controller
{
/**
* @var string
*/
public $modelClass = 'sit... |
<?php
namespace Kendo\Dataviz\UI;
class SparklineSeriesItemTargetLine extends \Kendo\SerializableObject {
//>> Properties
/**
* The width of the line.
* @param |\Kendo\JavaScriptFunction $value
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTargetLine
*/
public function width($value) {
... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Workflow\Event;
use Symfony\Component\EventDispatcher... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/networksecurity/v1beta1/authorization_policy.proto
namespace Google\Cloud\NetworkSecurity\V1beta1\AuthorizationPolicy\Rule;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Inte... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Colorlib Templates">
<meta name="author" content="Colorlib">
<meta name="keywords" c... |
<?php namespace App\Controllers;
use CodeIgniter\Controller;
use App\Models\ProductModel;
class Products extends Controller
{
public function index()
{
$model = new ProductModel();
$data['product'] = $model->getProduct()->getResult();
$data['category'] = $model->getCatego... |
<div class="custom-container2">
<div class="main-heading">
How Do Self-Heating Cans Work?
</div>
<div class="row mt-5">
<div class="col-md-4">
<div class="usage-card1">
<div class="content">
1. Flip and open the bottom lid
</div>
<d... |
<?php
/**
* Created by LazyCrud - @DyanGalih <dyan.galih@gmail.com>
*/
namespace App\Repositories\Requests;
/**
* @author:
* Date: 14:04:22
* Time: 2021/11/06
* Class OrderHistoryStatusRepositoryRequest
* @package App\Repositories\Requests
*/
class OrderHistoryStatusRepositoryRequest
{
/**
* @v... |
@extends('cartera.bancos.main')
@section('breadcrumb')
<li><a href="{{ route('bancos.index')}}">Banco</a></li>
<li><a href="{{ route('bancos.show', ['banco' => $banco->id]) }}">{{ $banco->id }}</a></li>
<li class="active">Editar</li>
@stop
@section('module')
<div class="box box-primary" id="banco-create">
... |
<?php
return [
'ok' => [
'list' => [
'saved' => 'Lista została dodana.',
'updated' => 'Lista została zaktualizowana.',
'deleted' => 'Lista została usunięta.',
'user_added' => 'Użytkownik został dodany do listy.',
'left' => 'Lista została opuszczon... |
<?php
namespace App\Http\Middleware;
use Closure;
class PreventbackHistory
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
... |
<?php
/* @var $this \yii\web\View */
/* @var $content string */
use app\widgets\Alert;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->lang... |
<?php
use lo\core\widgets\admin\Form;
/**
* @var \lo\modules\core\permission\models\Constraint $model
*/
echo Form::widget(["model" => $model]); |
{{-- Hero --}}
<div class="container">
<div class="search-wrapper">
@if ($title2)
<div class="title no-selectable-text">
<h3> {{ $title2 }}</h3>
</div>
@endif
<div id="search-root"></div>
</div>
<div class="wrapper-tables table-wrapper">
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('images', functio... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Siwes - ITF</title>
<!-- Fonts -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/lib... |
<?php
namespace Gedmo\Exception;
use Gedmo\Exception;
/**
* UnexpectedValueException
*
* @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
class UnexpectedValueException
extends \UnexpectedValueException
imple... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\models\general\GeneralLabel;
/* @var $this yii\web\View */
/* @var $model app\models\Ekemudahan */
$this->title = $model->ekemudahan_id;
$this->params['breadcrumbs'][] = ['label' => GeneralLabel::ekemudahans, 'url' => ['index']];
$this->params['breadcr... |
<?php
/**
* Cookies plugin for Craft CMS 3.x
*
* @link https://nystudio107.com/
* @copyright Copyright (c) 2017 nystudio107
* @license MIT License https://opensource.org/licenses/MIT
*/
namespace nystudio107\cookies\services;
use Craft;
use craft\base\Component;
use yii\base\Exception;
use yii\base\Inv... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\Notice */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="notice-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>
... |
<?php
require_once('inspection.php');
$pdf = new inspection('P', 'mm', 'A4', true, 'UTF-8', false);
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor('tiba redha');
$pdf->SetTitle("rappel à l'ordre");
$pdf->SetSubject('PROTOCOLE');
$pdf->SetFillColor(250); //fond gris il faut ajouter au cell un autre parametre pour qu... |
<!DOCTYPE html>
<html lang="en">
<head>
<?php $this->load->view("admin/_partials/head.php") ?>
</head>
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Sidebar -->
<?php $this->load->view("admin/_partials/sidebar.php") ?>
<!-- Content Wrapper -->
<div id="content-wrapper" c... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Order Model
*
* This class handles the database queries relating to orders.
*
* @package BitWasp
* @subpackage Models
* @category Order
* @author BitWasp
*
*/
class Order_model extends CI_Model {
/**
* Constructor
*
... |
<?php
/**
* @file
* A single location to store configuration.
*/
// add your facebook credentials here
define('FACEBOOK_APPID', 'xxxxxxxxxxxxxxxxxxx');
define('FACEBOOK_SECRET', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('FACEBOOK_FANPAGE_NAME', 'CASH Music');
define('FACEBOOK_FANPAGE_ID', '120327795611'); ... |
<html>
<head>
<style type='text/css'>
body{
font-family: sans-serif;
}
@page {
margin: 160px 50px;
}
header { position: fixed;
left: 0px;
top: -160px;
right: 0px;
height: 100px;
background-col... |
<?php $__env->startSection('content'); ?>
<!--body wrapper start-->
<div class="wrapper">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<section class="panel">
<header class="panel-heading ">
Taxi Service Request List
<s... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function($table)
{
$table->increments('id');
$table-... |
<div class="news_item card w-100">
<div class="card-body">
<h3 class="card-title">{{ $news_item->title }}</h3>
<p class="card-text">{{ $news_item->description }}</p>
<p>Category:
@foreach($news_item->categories as $news_item_category)
<a href="{{ route('categories.show... |
@extends('layouts.app')
@section('title')
Manage Project | Portfolio9
@endsection
@section('main-content')
<h1 class="mt-4">Project</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item active"><a href="{{route('home')}}">Dashboard</a> </li>
<li class="breadcrumb-item active"><a hre... |
<?php
namespace App\View\Components;
use Illuminate\View\View;
class TextArea extends BaseComponent
{
public function __construct($name = '', $required = false, $locale='en', $oldValue='', $valueName='')
{
parent::__construct($name, $required, $locale, $oldValue, $valueName);
}
/**
* G... |
<?php
/**
* @author xudianyang<xudianyang@camera360.com>
* @copyright Chengdu pinguo Technology Co.,Ltd.
*/
namespace PG\paySDK\test;
use PG\paySDK\http\Response;
class ResponseTest extends \PHPUnit_Framework_TestCase {
public function testObjectConstruction()
{
$response = new Response(200, arra... |
<?php
namespace Biologic\Core\Controllers;
use Biologic\Core\Classes\Request;
use Biologic\Core\Classes\Response;
use Biologic\Core\Classes\Responses\FileResponse;
class MountController
{
public static function renderFile(Request $request)
{
$file = __DIR__.'/../../../mdata/'.filesafe($request->route... |
<?php
namespace App\Http\Controllers;
use App\Models\Financial;
use Illuminate\Http\Request;
class FinancialController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show... |
<?php
/**
* Contains all client objects for the ProductService
* service.
*
* PHP version 5
*
* Copyright 2014, Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the... |
<?php
namespace frontend\controllers;
use Yii;
use frontend\models\News;
use frontend\models\NewsSearch;
use frontend\models\Komentar;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\data\ActiveDataProvider;
use yii\data\Pagination;
/**
* NewsController implements the C... |
<?php
/**
* Copyright 2014 Openstack Foundation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed ... |
<?php
namespace Bricks\Business\Atol54\UnitTest\Operation\Report\Field;
use PHPUnit\Framework\TestCase;
use DateTime;
use Bricks\Business\Atol54\Operation\Report\Field\Payload;
use Bricks\Business\Atol54\Exception\InvalidArgumentException;
use Bricks\Business\Atol54\Operation\Exception\BadResponseException;
/**
* @a... |
<?php
declare(strict_types=1);
namespace App\Factory;
use Yiisoft\Http\Method;
use Yiisoft\Router\Group;
use Yiisoft\Router\Route;
use Yiisoft\Router\GroupInterface;
use ReflectionClass;
final class RestGroupFactory
{
private const ENTITY_PATTERN = '{id:\d+}';
private const METHODS = [
'get' => Met... |
@extends('backend.layouts.app')
@section('title', __('Shop panel'))
@push('after-styles')
<link rel="stylesheet" href="{{ asset('css_custom/pos.css') }}">
@endpush
@section('content')
<div class="pcoded-content">
<div class="page-header">
<div class="page-block" style="background: rgba(11,13,255,.5);">
<d... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
class AdminController extends Controller
{
public function showLogin(){
if(Auth::check()){
if(Auth::user()->admin == 1)
return redire... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Condition extends Model
{
protected $table = 'conditions';
protected $fillable = ['condition_type_id','comments'];
public $timestamps = false;
} |
<?php
$pageName = "Register Salons";
$methodUrl = admin_url('users/');
$table = "company";
$pageData = $data['pagedata']['data'];
$count = (count($pageData) > 0) ? count($pageData) : 0;
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<... |
<?php
/*
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\Bu... |
<?php
namespace App\Providers;
use ReflectionClass;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\File;
use Illuminate\Support\ServiceProvider;
use Support\Providers\SupportServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
*... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
protected $table = 'order_list';
protected $fillable = ['user', 'status'];
const UPDATED_AT = null;
public function OrderFoods()
{
retu... |
<!DOCTYPE html>
@extends('layouts.app')
@section('content')
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta charset="utf-8">
<title>Found Category Search</title>
<!-- Fonts -->
<li... |
<?php
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multip... |
@extends('backend.admin_master')
@section('main_content')
<div class="py-12 row">
<div class="container">
<div class="row col-md-12 mt-2">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
Budgets
</h2>
</div>
... |
@stack('header_start')
<header class="main-header">
<!-- Logo -->
<a href="{{ url('/') }}" class="logo">
@if (setting('general.admin_theme', 'skin-green-light') == 'skin-green-light')
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img src="{{ asset('pu... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Domus</title>
<link href="<?php echo base_url('assets/bootstrap/css/bootstrap.min.css')?>" rel="stylesheet">
... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Translation\DataCollector;
use Symfony\Component\Http... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Conversation extends Model
{
public function messages(){
return $this->hasMany(Message::class);
}
} |
<!-- DADOS DA HABILIDADE -->
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Dados da Habilidade</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
... |
<?php
namespace RTippin\Messenger\Http\Collections;
use Illuminate\Http\Request;
use RTippin\Messenger\Http\Collections\Base\MessengerCollection;
use RTippin\Messenger\Http\Resources\ProviderResource;
use RTippin\Messenger\Models\Messenger;
use Throwable;
class SearchCollection extends MessengerCollection
{
/**
... |
<?php
/**
* Helper con funciones para el DataTable.
* El código de la Aplicación esta bajo la licencia GPL.
* @package Helper DataTable
* @author Mario Torres
*/
//*****************************************************************************//
//*****************************Empleados*******************************... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Kec_prestasi_yang_diraih_sumbermanjing extends CI_Controller {
function __construct() {
parent::__construct();
$this->load->model('m_prestasi_yang_diraih');
}
public function index() {
$tahun ='0000';
$kecama... |
<?php
/**
* (c) shopware AG <info@shopware.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SwagPaymentPayPalUnified\Components\Services;
use GuzzleHttp\Exception\ClientException;
use Shopware\Components\HttpClient\Re... |
<?php
namespace Ojs\ReportBundle\Controller;
use Ojs\JournalBundle\Entity\Article;
use Ojs\UserBundle\Entity\User;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class AnalyticsReportController extends Controller
{
public function indexAction()
{
$data = [];
$dm = $this->get('doct... |
<?php declare(strict_types=1);
namespace App\Entity;
use DateTime;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Ramsey\Uuid\UuidInterface;
/**
* @Table(name="users")
* @Entity
*
* Class User
* @package App
*/
class User
{
/**
* @Id
* @Column(typ... |
<?php
class StatusLigplaatsStandplaats
{
const __default = 'Plaatsaangewezen';
const Plaatsaangewezen = 'Plaats aangewezen';
const Plaatsingetrokken = 'Plaats ingetrokken';
} |
<?php
/**
* zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... |
<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
Detail Account Manager
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-sm sm:r... |
<?php
namespace App\Containers\Tenant\Actions;
use App\Ship\Parents\Actions\Action;
use App\Ship\Parents\Requests\Request;
use Apiato\Core\Foundation\Facades\Apiato;
class FindTenantByIdAction extends Action
{
public function run(Request $request)
{
$tenant = Apiato::call('Tenant@FindTenantByIdTask',... |
@if (Auth::guest())
<h5 class="text-secondary"><a href="#" data-toggle="modal" data-target=".bd-Login-modal-lg">{{ __('Login') }}</a> or <a href="#" data-toggle="modal" data-target=".bd-Register-modal-lg">{{ __('Register') }}</a> to process your order</h5>
@else
<form >
<h5 class="text-seco... |
<html>
<?php
if (isset($this->session->userdata['logged_in'])) {
header("location: http://localhost/login/index.php/user_authentication/user_login_process");
}
?>
<head>
<title>Administrador usuario</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>asset/css/style.css">
<link href='http://f... |
<?php
/**
* Klein (klein.php) - A fast & flexible router for PHP
*
* @author Chris O'Hara <cohara87@gmail.com>
* @author Trevor Suarez (Rican7) (contributor and v2 refactorer)
* @copyright (c) Chris O'Hara
* @link https://github.com/klein/klein.php
* @license MIT
*/
namespace app\framewo... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Sale extends Model
{
protected $fillable = ['stock_id', 'quantity'];
// protected $dateFormat = 'U';
// Relationships
public function stock()
{
return $this->belongsTo(Stock::class);
}
} |
<?php
namespace php_active_record;
/* http://eol.org/content_partners/708/resources/798 - DATA-1622
This is a generic script that will convert EOL XML to EOL DWC-A
DATA-1702
*/
include_once(dirname(__FILE__) . "/../../config/environment.php");
require_library('connectors/ConvertEOLtoDWCaAPI');
$timestart = time_elapse... |
<?php
namespace Wechat\Api\Event;
use Zend\Mvc\MvcEvent;
class MsgEvent extends MvcEvent {
const EVENT_MSG_RESOLVE = 'msg.resolve';
const EVENT_MSG_DISPATCH = 'msg.dispatch';
const EVENT_MSG_STORE = 'msg.store';
const EVENT_MSG_HANDLE = 'msg.handle';
const EVENT_MSG_HANDLE_TEXT = 'msg.handle.text';
const EVENT... |
<?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class EditEmailToContactEmailTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up(): void
... |
<?php
/**
* @file
* Contains \Drupal\responsive_favicons\Routing\DefaultFavicons.
*/
namespace Drupal\responsive_favicons\Routing;
use Drupal\Core\Routing\RouteSubscriberBase;
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Route;
/**
* Class DefaultFavicons.
*
* @package Drupal\r... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
namespace App\View\Components;
use Illuminate\View\Component;
class AdminNavbar extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateComicsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comics', functio... |
@extends('admission.curriculam_base')
@section('action-content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Add Curriculam</div>
<div class="panel-body">
... |
@extends('layouts.app')
@section('title', $post->title.' - '.sysConfig('SITE_NAME'))
@section('keyword', $post->keyword)
@section('description', $post->description)
@section('body')
<!-- start navigation -->
@include('layouts._nav')
<!-- end navigation -->
<!-- start site's main /content area -->
<section ... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitad917e1af9f1ec354b1d2b050165cb1d
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'25072dd6e2470089de65ae7bf... |
<?php
/**
* Interface for Controller action handlers
*
* PHP version 5
*
* LICENSE:
*
* Copyright (c) 2006-2014, Alexey Borzov <avb@php.net>,
* Bertrand Mansion <golgote@mamasam.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modi... |
<?php
namespace Roots\Acorn\Tests\Unit\TestDouble;
use Roots\Acorn\Clover\Meta;
use Roots\Acorn\Clover\ServiceProvider;
final class CloverServiceProviderStub extends ServiceProvider
{
public function __construct($app, Meta $meta)
{
parent::__construct($app);
$this->meta = $meta;
}
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class GasLog extends Model
{
use HasFactory;
public $table = 'verbruikGas';
public $timestamps = false;
protected $dates = ['timestamp'];
} |
<?php
/*
* This file is part of the `liip/LiipImagineBundle` project.
*
* (c) https://github.com/liip/LiipImagineBundle/graphs/contributors
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Liip\ImagineBundle\Imagine\F... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit9a45d2fe6eaeb2ff1aebb7de16594970
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiToken... |
<?php declare(strict_types=1);
namespace HJerichen\Framework\Test\Unit\Configuration;
use HJerichen\Framework\Configuration\Configuration;
use HJerichen\Framework\Configuration\ConfigurationJson;
use HJerichen\Framework\Test\Library\TestCase;
use HJerichen\ProphecyPHP\NamespaceProphecy;
use HJerichen\ProphecyPHP\PHPP... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CartonType extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'carton_types';
public function cartons()
{
return $this->hasMany('App\Carton');
}
/**
... |
<?php
declare(strict_types=1);
namespace PhpSerializers\Benchmarks\Bench;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\CachedReader;
use Doctrine\Common\Cache\ApcuCache;
use JMS\Serializer\Serializer;
use JMS\Serializer\SerializerBuilder;
use Metadata\Cache\DoctrineCacheAdapter;
... |
<?php
namespace Wolphy\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
abstract class Request extends FormRequest
{
//
} |
<?php
?> |
<?php
namespace audunru\ModelHistory\Traits;
use audunru\ModelHistory\Models\Change;
use Illuminate\Database\Eloquent\Relations\MorphMany;
trait MakesChanges
{
/**
* Get changes made by this owner.
*/
public function changes(): MorphMany
{
return $this->morphMany(Change::class, 'owner')... |
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?= $title ?> | Bhagat Engineering Works</title>
<!-- bootstrap -->
<link href="<?= base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet">
<!-- font-awesome -->
... |
<?php
declare(strict_types=1);
namespace Auxmoney\OpentracingGuzzleBundle\Tests\Functional;
use Auxmoney\OpentracingBundle\Tests\Functional\JaegerWebFunctionalTest;
use Symfony\Component\Process\Process;
class FunctionalTest extends JaegerWebFunctionalTest
{
/**
* @dataProvider provideProjectSetups
*/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.