text stringlengths 2 1.03M |
|---|
<?php
namespace App\Http\Controllers;
use App\Models\campaign;
use Illuminate\Http\Request;
class CampaignController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show t... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', fun... |
<?php
namespace App\Observers;
use App\Models\Task;
use App\Models\User;
class TaskObserver
{
/**
* Handle the Task "created" event.
*
* @param \App\Models\Task $task
* @return void
*/
public function created(Task $task)
{
$user = User::find($task->user_id);
... |
<?php
namespace App\Controller\Security;
use App\Entity\User;
use App\Form\ForgotPasswordStepTwoType;
use App\Form\ForgotPasswordStepOneType;
use App\Service\Notification\Notification;
use App\Service\Notification\NotificationManager;
use App\Service\Security\EmailValidation\EmailValidation;
use App\Service\Security\... |
<?php
namespace Mrss\Service\NhebiSubscriptions;
/**
* Class Nccbp
*
* For determining if a given ipeds/year combination returns a valid subscription
*
*/
class Nccbp
{
public function checkSubscription($year, $ipeds)
{
$query = "SELECT payment_id
FROM nccbp_payment_institution
... |
@extends('admin.template')
@section('main')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper" ng-controller="help">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Edit Help
</h1>
<ol class="breadcrumb">
<li><a href="../... |
<?php
/**
* Contains the class definition for Boolean columns.
*
* @author Iron Bound Designs
* @since 2.0
* @license MIT
* @copyright Iron Bound Designs, 2017.
*/
namespace IronBound\DB\Table\Column;
use IronBound\DB\Exception\InvalidDataForColumnException;
/**
* Class Boolean
*
* @package IronBo... |
<div class="page-content">
<!-- BEGIN PAGE HEADER-->
<!-- BEGIN PAGE BAR -->
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<a href="index.html">Home</a>
<i class="fa fa-circle"></i>
</li>
<li>
<span>Dashbo... |
<?php
namespace DCarbone\PHPFHIRGenerated\DSTU2\PHPFHIRTests\FHIRElement;
/*!
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: December 26th, 2019 15:43+0000
*
* PHPFHIR Copyri... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class TinTucSuaRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get ... |
<?php
/*
This file contains source code from the Filesender project.
*
* FileSender www.filesender.org
*
* Copyright (c) 2009-2012, AARNet, Belnet, HEAnet, SURFnet, UNINETT
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
<?php
namespace ICS\SsiBundle\Security;
/**
* File for login/password authenticator
*
* @author David Dutas <david.dutas@gmail.com>
*/
use Symfony\Component\Security\Http\Util\TargetPathTrait;
use Symfony\Component\Security\Guard\PasswordAuthenticatedInterface;
use Symfony\Component\Security\Guard\Authenticator\... |
<div id="content_left">
<ul id="menu1">
<?php foreach($dmmnl as $row) { ?>
<li><a href="<?php echo DOMAIN; ?>tin-tuc/<?php echo $row['Catalogue']['id'];?>/<?php echo $row['Catalogue']['slug'];?>.html"><?php echo $row['Catalogue']['name'];?></a></li>
<?php } ?>
</ul>
</div>
<div class="boxmain">
<div class="titlemai... |
<div class="card-header ">
<div class="d-flex justify-content-between" style="align-items: center;">
<div>
<!-- refernce relationship and obtain user email -->
<img width="40px" height="40px" style="border-radius:50%;" src="{{ Gravatar::src($discussion->author->email) }}" alt="">
... |
<?php
use yii\widgets\ActiveForm;
/* @var $model \app\models\SchoolModel*/
?>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<?php $form = ActiveForm::begin()?>
<?= $form->field($model,'name')->textIn... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\ProductsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Products';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="products-index">
<h1><?= Html::enco... |
<?php
namespace Oxa\Sonata\AdminBundle\Util\Traits;
use Oxa\Sonata\AdminBundle\Model\PostponeRemoveInterface;
/**
* Should be implemented to entities that deleted by cron command
*
* Class PostponeRemoveTrait
* @package Oxa\Sonata\AdminBundle\Util\Traits
*/
trait PostponeRemoveTrait
{
/**
* @var boolea... |
<?php
namespace SoftwareFinanciero\Http\Controllers;
use Illuminate\Http\Request;
use SoftwareFinanciero\Http\Requests;
use SoftwareFinanciero\PuntoEq;
class GraficoController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public fu... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Mosaddek">
<meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Re... |
@extends('layouts.default')
@section('pageTitle'){{ $article->title }} @endsection
@section('pageDescription'){{ str_limit(strip_tags($article->description), 100) }} @endsection
@section('pageImage'){{ asset('themes/clean_blog/img/post-bg.jpg') }} @endsection
@section('header') @include('partials.article_header') @end... |
<?php
namespace App\Test\Command;
use App\Command\UpdateLoanCommand;
use App\Tests\Mothers\LoanMother;
use PHPUnit\Framework\TestCase;
use Ramsey\Uuid\Uuid;
class UpdateLoanCommandTest extends TestCase
{
/**
* @throws \Assert\AssertionFailedException
* @throws \Exception
*/
public function tes... |
<div class="form-group col-lg-4">
{!! Form::label('codigo', 'Código') !!}
{!! Form::text('codigo', null, ['class' => 'form-control', 'placeholder' => 'Ingrese código']) !!}
</div>
<div class="form-group col-lg-12">
{!! Form::label('descripcion', 'Descripción') !!}
{!! Form::text('descripcion', null, ['c... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* BlogPost
*
* @ORM\Table(name="blog_post")
* @ORM\Entity(repositoryClass="AppBundle\Repository\BlogPostRepository")
*/
class BlogPost
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\... |
<?php
namespace Modules\Discount\Http\Controllers\Admin;
use Illuminate\Contracts\Support\Renderable;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Validation\Rule;
use Modules\Discount\Entities\Discount;
class DiscountController extends Controller
{
public function __construct()... |
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Admin Panel</h1>
</div>
</div>
</div>
</div>
<div class="content mt-3">
<div class="animated fadeIn">
<div class="row">
... |
<?php
namespace CreatyDev\App\Console\Commands;
use Illuminate\Foundation\Console\JobMakeCommand;
class DomainJobMakeCommand extends JobMakeCommand
{
/**
* Get the default namespace for the class.
*
* @param string $rootNamespace
* @return string
*/
protected function getDefaultName... |
<?php
namespace Filament\Forms\Components;
use Carbon\CarbonInterface;
use Closure;
use DateTime;
use Illuminate\View\ComponentAttributeBag;
class DateTimePicker extends Field
{
use Concerns\HasExtraAlpineAttributes;
use Concerns\HasPlaceholder;
protected string $view = 'forms::components.date-time-pick... |
<?php
/**
* If we can't get more information, assume everything is any
*/
function f($a) {
__tap_check($a, "any");
__tap_check($a->b, "any");
__tap_check($a->method(1, "str"), "any");
} |
<?php namespace Hon\Honcuratorreview\Controllers\API;
use Cms\Classes\Controller;
use BackendMenu;
use HON\HonCuratorReview\Models\App;
use HON\HonCuratorReview\Models\Review;
use Illuminate\Http\Request;
use Hon\Honcuratorreview\Helpers\Helpers;
use Illuminate\Support\Facades\Validator;
use HON\HonCuratorReview\Mode... |
<?php
include('encabezado.php');
$id = $_SESSION['id_usuario'];
$query = mysqli_query($db, "SELECT tipo FROM usuarios WHERE id_usuario = '$id';");
$tipo = mysqli_fetch_assoc($query);
if($tipo['tipo'] == 1){
$check = '';
if(!empty($_POST)){
$titulo = $_REQUEST['titulo'];
$descr... |
<?php
namespace App\Http\Controllers;
use App\Models\Bank;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class BankController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request)
... |
<?php
class CM_Model_SplittestVariation extends CM_Model_Abstract {
/**
* @return string
*/
public function getName() {
return $this->_get('name');
}
/**
* @return bool
*/
public function getEnabled() {
return (bool) $this->_get('enabled');
}
/**
... |
<?php
/* FreelancerMainBundle:pages/layout:boxed.html.twig */
class __TwigTemplate_8a9535d02cef51a10ab046a91800c757e60ea07e3a335e9e089b8494d4c9ab03 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blo... |
<?php
use Illuminate\Database\Seeder;
class TagsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$i = 0;
factory(App\Tag::class, 4)
->create()
->each(function ($t, $i) {
$tags = ["Carr... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?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 =... |
<div class="row">
<div class="col-md-12">
<div class="card shadow" id="card">
<div class="card-body">
<div class="row">
<div class="col-sm-6 col-sg-4 m-b-4">
<ul class="list-unstyled">
<li>
... |
<?php
namespace App\Model;
class Time
{
private $hour;
private $minute;
/**
* @return mixed
*/
public function getHour()
{
return $this->hour;
}
/**
* @param mixed $hour
*/
public function setHour($hour): void
{
$this->hour = $hour;
}
... |
<!-- START LEFT SIDEBAR NAV-->
<aside id="left-sidebar-nav">
<ul id="slide-out" class="side-nav fixed leftside-navigation">
<!--<li class="user-details cyan darken-2">
<div class="row">
<div class="col col s4 m4 l4">
<img src="images/avatar/a... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "{{%blog_user}}".
*
* @property integer $id
* @property string $username
* @property string $password
* @property string $auth_key
* @property string $token
* @property string $email
*/
class BlogUser extends \yii\db\ActiveRecord
{... |
Welcome to Knight of Sorrow {{ $user->name }} |
@extends('layouts.app')
@section('content')
<x-jet-action-section>
<x-slot name="title">
{{ __('Delete Account') }}
</x-slot>
<x-slot name="description">
{{ __('Permanently delete your account.') }}
</x-slot>
<x-slot name="content">
<div class="max-w-xl text-sm text-gray-... |
<?php
namespace app\admin\controller\jpush;
use app\common\controller\Backend;
use addons\jpush\library\jpush\Client;
use addons\jpush\library\jpush\Exceptions\APIRequestException;
use InvalidArgumentException;
/**
* 极光推送管理
*
* @icon fa fa-list-alt
*/
class Devices extends Backend
{
private $appKey = '';
... |
@extends('layouts.dashboard')
@section('content')
<?php
$url = $result->currentPage();
session()->put('page', $url);
?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
ASM
<!-- <small>advanced tables</small> -->
</h1>
<ol class=... |
<?php
namespace php_active_record;
/* NBII images
estimated execution time:
Numbers:
6,243 images; 30.4 GB in size
3,258 images
983 taxa
1956 vernaculars
*/
include_once(dirname(__FILE__) . "/../../config/environment.php");
require_library('connectors/NbiiImagesAPI');
$timestart = time_elapsed();
$... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$formAction = 'insertAssginPerms/';
$path = $crnt_view . '/' . $formAction;
?>
<script>
var url ='<?php echo base_url($path); ?>';
</script>
<?php echo $this->session->flashdata('verify_msg'); ?>
<div class="content-wrapper">
<!-- Content ... |
<?php
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2019, British Columbia Institute of Technology (https://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit(... |
<?php
namespace LosUser\Options;
interface ControllerOptionsInterface
{
public function setUseRedirect($useRedirect);
public function getUseRedirect();
public function getLoginRoute();
public function setLoginRoute($loginRoute);
} |
<?php
namespace Drupal\form_test\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
/**
* Defines a form for testing form element description display options.
*
* @see \Drupal\system\Tests\Form\ElementsLabelsTest::testFormDescriptions()
*/
class FormTestDescriptionForm extends FormBase... |
<?php
/**
* Copyright 2018 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
<?php
namespace App\Http\Controllers\admin;
use App\Coverage;
use App\Http\Controllers\Controller;
use App\MediaReport;
use App\Newus;
use App\Partner;
use App\Project;
use Illuminate\Http\Request;
class partnersController extends Controller
{
/**
* Display a listing of the resource.
*
* @return... |
<?php $__env->startSection('title', 'Escort - Profile Stats'); ?>
<?php $__env->startSection('content'); ?>
<form method="POST" action="<?php echo e(route('profile.stats.update')); ?>">
<?php echo csrf_field(); ?>
<?php echo $__env->make('partials._profileSteps', \Illuminate\Support\Arr::except(get_defined_va... |
<!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.0">
<title>Edit user</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.b... |
<?php
namespace Ethereum;
use Ethereum\RLP\Rlp;
/**
* EthereumStaticTestEthB
*
* @ingroup staticTests
*/
class RlpTest extends TestStatic {
/**
* What a testMess....
*
* Metamask: Most tests don't work.
* https://github.com/MetaMask/provider-engine/blob/master/test/wallet.js
*
* Nethereum
... |
<?php
$cpu = shell_exec('ps aux | awk \'{s += $3} END {print s }\'');
$total_mem = shell_exec("cat /proc/meminfo | grep MemTotal | awk '{ print $2 }' ");
$free_mem = shell_exec("cat /proc/meminfo | grep Cached | awk '{ print $2 }' ");
$averageArray = shell_exec("uptime");
$averageArray = array_slice((explode(" ", $ave... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Event;
class EventsController extends Controller
{
public function index(){
$events = Event::paginate('9');
return view('events.event',compact('events'));
}
public function singleEvent(Event $event){
ret... |
<?php
namespace frontend\models;
use Yii;
use common\models\User;
/**
* This is the model class for table "profile".
*
* @property int $profileId
* @property int $userId
* @property string $fullName
* @property int $countryId
* @property int $idNumber
* @property int $currencyId
* @property int $phoneCode
... |
<?php
namespace Administrators;
use View;
use Hospcode;
use Input;
use Doctor;
use Crypt;
use Redirect;
use Sentry;
class DoctorController extends \BaseController
{
public function getIndex()
{
$user = Sentry::getUser();
$doctor = Doctor::leftJoin('hospcode','hospcode.hospcode','=','doctor.hospco... |
<?php
namespace Google\AdsApi\Dfp\v201805;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class LineItemDeliveryForecast
{
/**
* @var int $lineItemId
*/
protected $lineItemId = null;
/**
* @var int $orderId
*/
protected $orderId = null;
/**
* @var string $u... |
<?php
namespace App\Models;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Au... |
<?php
namespace App\Controller;
use App\Repository\BriefPromotionRepository;
use App\Repository\BriefRepository;
use App\Repository\FormateurRepository;
use App\Repository\GroupeRepository;
use App\Repository\PromotionRepository;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Rest_server extends CI_Controller {
public function index()
{
$this->load->helper('url');
$this->load->view('rest_server');
}
} |
@include('backendPartial.nav')
<div class="content-page">
<div class="container-fluid">
<div class="row">
<div class="col-lg-4">
<div class="card card-transparent card-block card-stretch card-height border-none">
<div class="card-body p... |
<?php declare(strict_types = 1);
/**
* Jyxo PHP Library
*
* 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:
* https://github.com/jyxo/php/blob/master/license.txt
*/
names... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateArticleRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* ... |
<?php
namespace FilippoToso\Travelport\GDSQueue;
class PassiveRemark
{
/**
* @var string $Text
*/
public $Text = null;
/**
* @var string $Type
*/
public $Type = null;
/**
* @var typeRef $PassiveSegmentRef
*/
public $PassiveSegmentRef = null;
/**
* @pa... |
<?php
/*
* This file is part of the Assetic package, an OpenSky project.
*
* (c) 2010-2013 OpenSky Project Inc
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Assetic\Cache;
/**
* Interface for a cache backend.
*
* ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Administration | Institutes</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
@include('includes.admin.common_css')
... |
<?php
namespace Rajagonda\Excel\Concerns;
use Illuminate\Database\Query\Builder;
interface FromQuery
{
/**
* @return Builder
*/
public function query();
} |
<?php
namespace Coercive\App\Settings;
/**
* Factory Interface
*
* @package Coercive\App\Settings
* @author Anthony Moral <contact@coercive.fr>
*/
interface FactoryInterface
{
/**
* Return the namespace handled by the current factory
*
* @param string $name The name of called method
* @return string
*/... |
<?php
/* This template file arranges the header with the logo on the left, menu
on right, and social icons above the menu */
$search_position = get_theme_mod('search-position');
$hide_social = get_theme_mod('hide_header_social');
$alt_nav = get_theme_mod('show_alt_nav');
$menu_layout = get_theme_mod('wpt_mo... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... |
<?php
include "../koneksi.php";
$sql="delete from user where id_user= '$_GET[id]'"; mysqli_query($con, $sql);
mysqli_close($conn);
header('location:tampil_user.php'); |
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class HamburgerTest extends TestCase
{
use DatabaseTransactions;
/**
* A basic test example.
*
* @return void
*/
publi... |
@extends('app', [
'seoDescription' => 'A Fertőrákosi Lövészklub hírei.',
'seoTitle' => 'Hírek'
])
@section('content')
<div class="container" id="article">
<div class="row">
<div class="col-xs-12">
<ol class="breadcrumb">
<li><a href="/">Főoldal</a></l... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Links */
$this->title = '创建';
$this->params['breadcrumbs'][] = ['label' => '友情链接', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="links-create panel">
<?= $this->render('_form', [
... |
<?hh // strict
function f() {
$c = coroutine function($a, $someCoroutine) {
try {
print 1;
} finally {
while ($a) {
$a = 10 + suspend $someCoroutine();
}
}
};
} |
<?php
declare(strict_types=1);
namespace App\Models\Service\Api\CurrConv;
use App\Exceptions\Api\CurrConv\CurrConvException;
use App\Interfaces\Api\CurrConv\RequestInterface;
use App\Models\Api\CurrConv\Config;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Psr7\Response;
use Illumina... |
<?php
namespace App;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;
class CompanyMeta extends Model
{
use SoftDeletes;
protected $table = 'ori_company_meta';
protected $guarded = [];
use UpdaterCompanyData;
public function GetStatus()
{
return $this->belongsTo(... |
<?php
session_start();
if(!isset($_SESSION['username']) || !isset($_SESSION['firstname'])){
header('location:../../index.php');
}
?>
<html>
<head>
<title>Home Page</title>
</head>
<body>
<a href='logout.php'><button class='btn btn-primary'>Log Out</button></a>
<h... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateQuotationTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('quotation', f... |
<?php
/**
* Copyright © 2013-2017 Epoint, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Epoint\SwisspostSales\Observer;
use Epoint\SwisspostApi\Observer\BaseObserver;
use \Magento\Framework\ObjectManagerInterface;
use \Psr\Log\LoggerInterface;
use Epoint\SwisspostSales\Service\Order... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LectureLogin - PRAKIT</title>
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap" rel="stylesheet">
<link rel="... |
<div class="panel">
<span class='message'><?=$message ?></span>
<p class='text-error'><?=$error ?></p>
</div> |
<?php
/**
* Created by PhpStorm.
* User: synthetic
* Date: 01.07.16
* Time: 23:46
*/
namespace AppBundle\Component;
interface ResponseInterface
{
/**
* Get data
*
* @return mixed
*/
public function getData();
/**
* Get http status code
*
* @return int
*/
... |
<?php
namespace Ankurk91\StripeExceptions;
use Illuminate\Support\Facades\Response;
use Stripe\Exception;
use Illuminate\Support\Facades\Lang;
class ApiException extends AbstractException
{
protected array $dontReport = [
Exception\ApiConnectionException::class,
Exception\CardException::class,
... |
<?php
namespace JPNut\Versioning\Tests;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\SoftDeletes;
use JPNut\Versioning\Tests\Models\Dummy;
use JPNut\Versioning\Tests\Models\Role;
class VersionableTest extends TestCase
{
/** @test */
public function it_can_create_model_with_versioned_properties()
{... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUploadTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('upload', functio... |
<?php
namespace App\Http\Controllers;
use App\Imports\ImpressFunds;
use App\Models\Counter;
use App\Models\File;
use App\Models\History;
use App\Models\Archive;
use App\Models\Box;
use App\Models\TagPartner;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Maatw... |
<?php
namespace Vitarian\ReceptyBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class CategoryControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClient();
... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRefrigerantesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('refrigera... |
<?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\HttpKernel\DataCollector;
use Symfony\Component\Error... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card card-default">
<div class="card-header">Dashboard</div>
<div class="row">
<div class=... |
<?php return unserialize('a:2:{i:0;O:23:"Doctrine\\ORM\\Mapping\\Id":0:{}i:1;O:30:"Doctrine\\ORM\\Mapping\\ManyToOne":4:{s:12:"targetEntity";s:41:"Admin\\EinstitutAdminBundle\\Entity\\Diplome";s:7:"cascade";a:1:{i:0;s:7:"persist";}s:5:"fetch";s:4:"LAZY";s:10:"inversedBy";N;}}'); |
<div class="container">
<!--<h3>Employee Information Entry Form</h3>-->
<ul class="nav nav-tabs sticky">
<li class=" bi">Basic Information</li>
<li class="ei">Educational Information</li>
<li class="edi" >Job Experience Information</li>
<li class="ti" >Training Information</li>
<li class="btn-su... |
<?php
namespace WPStaging\Framework\CloningProcess\Data;
use WPStaging\Backend\Modules\Jobs\Exceptions\FatalException;
class ResetIndexPhp extends FileCloningService
{
/**
* @inheritDoc
*/
protected function internalExecute()
{
if (!$this->isSubDir()) {
$this->log("WP insta... |
<?php
namespace Code16\Sharp\Tests\Unit\Show\Fields;
use Code16\Sharp\Show\Fields\SharpShowPictureField;
use Code16\Sharp\Tests\SharpTestCase;
class SharpShowPictureFieldTest extends SharpTestCase
{
/** @test */
function we_can_define_a_picture_field()
{
$field = SharpShowPictureField::make("pict... |
@extends('layouts.app')
@section('content')
<section class="hero hero--dark-purple hero--simple">
<div class="swiper-slide">
<div class="hero__slide">
<div class="hero__image">
<div class="hero__image-cover"></div>
<img src="/images/about_... |
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Sidebar -->
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.