text stringlengths 2 1.03M |
|---|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateTABLE224Table extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('TABLE 224', function(Blueprint $table)
{
$table->string('license', 19)->nu... |
<?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace Zend\Http\Header;
... |
@component('mail::message')
<h1> Hello I looks like its not going to rain for the next 6 days</h1><br>
<p>Better water your plants as scheaduled</p><br>
<p>We will notify you the next time your plants need to be watered.</p><br>
<h3>Check your To-Do list as you may have task pending that still need to be done by cli... |
<?php
/*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... |
@extends('layouts.admin')
@section('content')
<div class="row">
<div class="container">
<br>
<br>
<div class="col-md-12">
<div class="panel panel-primary">
<div class="panel-heading"><b>EDIT DATA PRODUCT</b>
<div class="panel-title pull-right"><a href=... |
<?php
/**
* @see https://medium.com/@interfacer/intro-to-async-concurrency-in-python-and-node-js-69315b1e3e36
*/
include 'vendor/autoload.php';
/*
```
// async_scrape.js (tested with node 11.3)
const sleep = ts => new Promise(resolve => setTimeout(resolve, ts * 1000));
async function fetchUrl(url) {
console.lo... |
@extends('Layout.Panel')
@section('content')
<div class="modal fade" id="deleteAlbum" tabindex="-1" role="dialog" aria-labelledby="deleteAlbumLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 cla... |
<?php namespace poll;
use spitfire\Model;
use spitfire\storage\database\Schema;
/*
* The MIT License
*
* Copyright 2019 César de la Cal Bretschneider <cesar@magic3w.com>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the ... |
@extends('layouts.admin')
@section('title', 'Расписание создать')
@section('content')
<!--breadcrumb-->
<div class="page-breadcrumb d-none d-md-flex align-items-center mb-3">
<div class="breadcrumb-title pr-3">Расписание</div>
<div class="pl-3">
<nav aria-label="breadcrumb">
<ol class="breadcrumb mb-0... |
<?php
/* TwigBundle:Exception:trace.txt.twig */
class __TwigTemplate_4672f8128eefca28d39e89cee9c64a22271e0695918cde13e7789e3f3dff5d81 extends Twig_Template
{
private $source;
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceCo... |
<?php
namespace PicturePark\API\Exception;
class SchemaPermissionSetGetPermissionsBadRequestException extends \RuntimeException implements ClientException
{
private $pictureparkValidationException;
public function __construct(\PicturePark\API\Model\PictureparkValidationException $pictureparkValidationExceptio... |
<?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
include_once '../system/lib/bootstrapHAX.php';
include_once $HAXCMS->configDirectory . '/config.php';
// test if this is a valid user login
if ($HAXCMS->validateJWT()) {
header('Content-Type: application/json');
$site = $HAXCMS->loadSite($HAXCMS->safePost['siteName']);
if (isset($_POST['body']... |
<?php
namespace DesignPatterns\Behavioral\Memento;
class Memento
{
/**
* @var State
*/
private $state;
/**
* @param State $stateToSave
*/
public function __construct(State $stateToSave)
{
$this->state = $stateToSave;
}
/**
* @return State
*/
publ... |
<?php
declare(strict_types=1);
namespace Auxmoney\OpentracingBundle\Tests\Functional;
use GuzzleHttp\Client;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Process\Process;
class FunctionalTest extends TestCase
{
public function testSuccessfulTracing(): void
... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\FtthRegion;
use App\Models\FtthDepartement;
use App\Models\Region;
use Illuminate\Support\Facades\Storage;
class FtthRegionController extends Controller
{
/**
* Show the profil... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be... |
@extends('layouts.admin')
@section('content')
<div class="container-fluid">
<?php
$right = Permissions::confirm_user_permission('/admin/pledgecollection');
?>
<div class="product-sales-chart shadow" style="margin-bottom: 5px; min-height: 300px;">
<div class="portlet-title">
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
date_default_timezone_set("Asia/Calcutta");
class Login extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->helper(array("form","url","cookie","date"));
$this->load->library(array("form_validation","s... |
<footer class="container container--wide">
<div class="footer">
<ul class="footer__list">
<li class="footer__item"><a class="footer__link" href="../html/contact.php">Kontakt</a></li>
<li class="footer__item"><span class="footer__dot"></span></li>
<li class="footer__item">... |
<nav class="navbar navbar-expand-lg navbar-light ">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="{{ URL::asset('assets/img/logosentosa.png') }}" width="90" height="50"
class="d-inline-block align-top" alt="">
Sentosa
</a>
... |
<?php
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0
// Source: tabletmanagerdata.proto
namespace Vitess\Proto\Tabletmanagerdata {
class InitMasterResponse extends \DrSlump\Protobuf\Message {
/** @var string */
public $position = null;
/** @var \Closure[] */
protected static $__... |
<?php namespace App\Http\Middleware;
use Closure;
class PermisosMiddleware {
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next,$permiso)
{
if($permiso){
return $next... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
//---------------------------------------------
//Rutas de Usuario
//---------------------------------------------
//Rutas para datos de usuario
$route['usuario/obtener'] = 'Usuario/obtener';
$route['usuario/actualizar'] = 'Usuario/actualizar';
$ro... |
@extends('layouts.master')
@section('title')
Registered Roles | funda of web
@endsection
@section('content')
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div cla... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSequencesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sequences', f... |
<?php
class Podio {
public static $oauth, $debug, $logger, $session_manager, $last_response, $auth_type;
protected static $url, $client_id, $client_secret, $secret, $ch, $headers;
private static $stdout;
const VERSION = '4.3.0';
const GET = 'GET';
const POST = 'POST';
const PUT = 'PUT';
const DELETE ... |
<?php
use App\Lib\Api;
use Cake\Core\Configure;
$data = array();
$param = $this->getParams(array());
$type = !empty($param['type']) ? $param['type'] : '';
if (!empty($id)) {
$data = Api::call(Configure::read('API.url_orders_detail'), array(
'id' => $id
));
$type = !empty($data['type']) ? $data['typ... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="bg-secondary text-white">
<div class="font-weight-bold">
<div class="text-center">
... |
<?php
namespace App;
use Mailgun\Mailgun;
use \App\Config;
class Mail
{
public static function send($to, $subject, $text, $html)
{
// First, instantiate the SDK with your API credentials
$mg = Mailgun::create(Config::MAILGUN_API_KEY); // For US servers
//$mg = Mailgun::cre... |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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 t... |
<?php
/**
* ECSHOP EMS插件
* ============================================================================
* * 版权所有 2005-2012 上海商派网络科技有限公司,并保留所有权利。
* 网站地址: http://www.ecshop.com;
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
* 使用;不允许对程序代码以任何形式任... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateLikesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('likes', function ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePermissionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('permissions... |
<div class="content-wrapper">
<section class="content-header">
<h1>
<i class="fa fa-list-alt"></i> Kelola Arsip Kegiatan
<small></small>
</h1>
<!-- <ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Dashboard</li... |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\Routing;
use Shopware\Core\Framework\Validation\DataBag\QueryDataBag;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentM... |
<?php
declare(strict_types=1);
namespace SlayerBirden\DFCodeGeneration\Generator\Factory\Providers\Decorators;
use SlayerBirden\DFCodeGeneration\Generator\DataProvider\DataProviderDecoratorInterface;
use SlayerBirden\DFCodeGeneration\Util\Lexer;
final class HydratorDecorator implements DataProviderDecoratorInterface... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSampleDiagnosesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sample_... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/** @var $product \Magento\Catalog\Model\Product */
$product = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Catalog\Model\Product::class);
$product->setTypeId(
\Magento\... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... |
<section id="container" >
<!-- **********************************************************************************************************************************************************
TOP BAR CONTENT & NOTIFICATIONS
************************************************************************************... |
<?php
require __DIR__ . '/../../vendor/autoload.php';
use Gerencianet\Exception\GerencianetException;
use Gerencianet\Gerencianet;
$file = file_get_contents(__DIR__ . '/../config.json');
$options = json_decode($file, true);
unset($options['pix_cert']);
$params = ['id' => 0];
try {
$api = new Gerencianet($optio... |
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
class UsersEditRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation ru... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="/P... |
<?php
namespace Mayijuntuan\Alipay\Requests;
/**
* ALIPAY API: koubei.marketing.campaign.intelligent.promo.consult request
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
class KoubeiMarketingCampaignIntelligentPromoConsultRequest
{
/**
* 智能营销活动咨询推荐接口
**/
private $bizContent;
private $apiP... |
@extends('layout/plantilla')
@section('title','Crear propiedades y usuario')
@section('content')
<h1 class="text-center">Crear propiedades y usuario</h1>
@if (session ('mensaje'))
<div class="alert alert-success alert-dismissible fade show" role="alert">
{{ session('mensaje') }}
</div>
@endif
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
public function category()
{
return $this->belongsTo('App\category');
}
public function tags()
{
return $this->belongsToMany('App\tag');
}
} |
<?php
/**
* Test: Nette\Application\Routers\Route with FILTER_IN & FILTER_OUT
*/
use Nette\Application\Routers\Route;
use Tester\Assert;
require __DIR__ . '/../bootstrap.php';
require __DIR__ . '/Route.inc';
$route = new Route(' ? action=<presenter>', [
'presenter' => [
Route::FILTER_IN => function ($s) {
... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
declare (strict_types = 1);
namespace Dumplie\Customer\Tests\Integration\Application\InMemory;
use Dumplie\Customer\Domain\Product;
use Dumplie\SharedKernel\Domain\Money\Price;
use Dumplie\SharedKernel\Domain\Product\SKU;
use Dumplie\SharedKernel\Infrastructure\InMemory\InMemoryEventLog;
use Dumplie\SharedKern... |
<?php declare(strict_types=1);
namespace Serializer\Tests\Format;
use Exception;
use PHPUnit\Framework\TestCase;
use Serializer\Format\FormatFactory;
use Serializer\Format\InvalidInputException;
use Serializer\SerializerException;
class JsonFormatTest extends TestCase
{
public function testDecode()
{
... |
<?php
require '../vendor/autoload.php';
require_once __DIR__ . '/../src/TikTok.php';
/**
* Get development config
*/
$config = require_once __DIR__ . '/env.php';
use TikTok\Scraper;
// Instantiate TikTok Scraper library
$scraper = new Scraper($config);
try {
$data = $scraper->trending->videos(25);
// Check... |
<?php
include 'LSDatabase.php';
$statisticDb = new LSDatabase();
$statisticDb->getAllDevisions();
?> |
<?php
/***************************************************************************
* *
* (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev *
* *
* This... |
<?php
// Translation Info
// $Id$
// License http://creativecommons.org/licenses/by/2.5/br/
// ############################################################### //
// ## XOOPS Cube - Tradução para o Português
// ############################################################### //
// ## Por............: Mikhail Miguel
// ##... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'orders';
/**
* The database primary key value.
*
* @var string
*/
protected $primaryKey = 'i... |
<?php
namespace AppBundle\Controller;
use AppBundle\Entity\VehiculoRemolque;
use AppBundle\Entity\CfgPlaca;
use AppBundle\Entity\Vehiculo;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;u... |
<?php
namespace XeroPHP\Models\PayrollUS\Employee;
use XeroPHP\Remote;
class SalaryAndWage extends Remote\Model
{
/**
* This property has been removed from the Xero API
*
* @property string SalaryAndWageID
* @deprecated
*/
/**
* Xero unique identifier for SalaryAndWage item. e.... |
<?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception; // a common import
use \ccxt\ExchangeError;
use \ccxt\ArgumentsRequired;
use \ccxt\BadRequest;
use \ccxt\InvalidAddress;
us... |
<?php
/**
* @var yii\web\View $this
* @var string $content
*/
use yii\bootstrap4\Nav;
use yii\bootstrap4\NavBar;
$this->beginContent('@frontend/views/layouts/_clear.php')
?>
<header>
<?php NavBar::begin([
'brandLabel' => Yii::$app->name,
'brandUrl' => Yii::$app->homeUrl,
'options' => [
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\User;
use Spatie\Permission\Models\Role;
use DB;
use Hash;
class UserController extends Controller
{
function __construct(){
$this->middleware('permission:قائمة المستخدمين', ['only' => ['inde... |
<?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
declare(strict_types=1);
/**
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link ... |
<?php
/**
* Created by yiiPal.
* User: Steven.R(Renkuan)
* QQ:359876077
* Date: 2015/7/16
* Time: 9:18
*/
namespace yiipal\base\utils;
trait HelperTrait {
public function arg($name){
return '123';
}
} |
<?php
/*
* This file is part of the hyn/multi-tenant package.
*
* (c) Daniël Klabbers <daniel@klabbers.email>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @see https://laravel-tenancy.com
* @see https://github.com/hyn/multi-... |
{{--<amp-story-cta-layer>--}}
{{--@includeWhen($cta_layer['type']=='img', 'components.img', ['properties' => $cta_layer['properties']])--}}
{{--@includeWhen($cta_layer['type']=='richtext', 'components.richtext', ['properties' => $cta_layer['properties']])--}}
{{--</amp-story-cta-layer>--}} |
<?php
namespace Dvsa\Olcs\Transfer\FieldType\Traits;
/**
* Traffic Area
*/
trait TrafficAreaOptional
{
/**
* @var String
* @Transfer\Filter({"name":"Laminas\Filter\StringTrim"})
* @Transfer\Validator({
* "name":"Laminas\Validator\InArray",
* "options": {
* "hayst... |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @g... |
<?php
namespace TYPO3\CMS\Lang\Domain\Model;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license inf... |
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: db_backup.php
| Author: Nick Jones (Digitanium)
+--------------------------... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit1846aaddc08da402fb222c15c59e3b99::getLoader(); |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ProductImage extends Model
{
public $fillable= [
'product_id',
'image'
];
} |
<?php
/*******************************************************************************
*
* filename : QueryList.php
* last change : 2003-01-07
* website : http://www.churchcrm.io
* copyright : Copyright 2001, 2002 Deane Barker
*
* ChurchCRM is free software; you can redistribute it and/or modify
*... |
<?php
namespace App\Http\Requests;
class RateRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'store_id' => 'required|exists:stores,id',
'rate' => 'required|integ... |
<?php
namespace App\Models;
use DB;
class Jobs extends \Goxob\Core\Model\ModelList{
protected $defaultJoins = array('team');
// protected function joinCustomer()
// {
// $this->query->addSelect('customer.email as customer_email');
// $this->query->addSelect('customer.phone as customer_phone')... |
<style type="text/css">
#prvi{
position: relative;
right: 17px;
margin-left: 15px;
}
</style>
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
</div>
<div class="modal-body">
<center>
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateAsistenteSocialsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('asistente_socials', function (Blueprint $tab... |
<?php
namespace Tecdiary\Installer;
use Illuminate\Support\ServiceProvider;
use Tecdiary\Installer\Commands\ResetData;
use Tecdiary\Installer\Commands\UpdateMPS;
use Tecdiary\Installer\Commands\ComposerUpdate;
class InstallServiceProvider extends ServiceProvider
{
public function boot()
{
if ($this->... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200402141833 extends AbstractMigration {
public function getDescription(): string {
... |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_installer
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
jimport('joomla.updater.update');
use J... |
<?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Victor Dubiniuk <dubiniuk@owncloud.com>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... |
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfNotAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
public func... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
class StationSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
... |
<?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2020 David Young
* @license https://github.com/aphiria/aphiria/blob/master/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\DependencyInjection\Tests\Mocks;
/**
* Mocks a class that takes in primitives with defaul... |
@extends('layouts.master')
@section('content')
<!-- Start Bed Type Model -->
<div class="row justify-content-center">
<div class="col-lg-12 m-3">
<div class="card border-success">
<h4 class="card-header bg-success d-flex justify-content-between">
<span class="text-light align-sel... |
<?php
/**
* CalendarApiTest
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* EVE Swagger Interface
*
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0.8.6
*
* Generated by: https://g... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSectionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('sections', fun... |
<?php
declare(strict_types=1);
namespace EonX\EasyWebhook\Interfaces;
interface WebhookClientInterface
{
public function sendWebhook(WebhookInterface $webhook): WebhookResultInterface;
} |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/11/7
* Time: 11:24
*
* 区域导入+队列处理
*/
namespace app\index\controller\file_handing;
use app\index\service\CommonCacheService;
use app\index\service\queue\QueueBase;
use think\Request;
use think\queue\Job;
use app\index\service\excel\ImportService;
... |
<?php
namespace App\Http\Controllers;
use App\Models\Player;
use App\Models\Team;
use Illuminate\Http\Request;
use Input;
use Validator;
use Session;
use Redirect;
use Response;
class PlayerController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Respo... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class MySubscriptions extends Model
{
//
protected $fillable = ['link', 'title', 'description'];
} |
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ExampleTest extends TestCase
{
/**
* A basic functional test example.
*
* @return void
*/
public function testBasic... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
<?php
namespace App\Rules\User;
use Illuminate\Contracts\Validation\Rule;
class Password implements Rule
{
private $error_message;
/**
* Create a new rule instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Determine if the validation r... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\lessons\models\LessonSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('lesson', 'Lessons');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="lesson-index"... |
<?php
class RolesTableSeeder extends Seeder {
public function run()
{
Role::create(
array(
'name' => 'Administrator',
'description' => "Master role, can do almost everythings"
)
);
Role::create(
array(
'name' => 'User',
... |
<?php
namespace VanguardLTE\Games\CaramelHotEGT
{
include('CheckReels.php');
class Server
{
public function get($request, $game)
{
/* if( config('LicenseDK.APL_INCLUDE_KEY_CONFIG') != 'wi9qydosuimsnls5zoe5q298evkhim0ughx1w16qybs2fhlcpn' )
{
return fa... |
<?php
/**
* InterludeStartEventTest.php
*
* Creation date: 2014-09-27
* Creation time: 23:55
*
* @author Arkadiusz Moskwa <a.moskwa@gmail.com>
*/
namespace Nakard\MusicFormats\Tests\Media\Id3v2\Frame\Event;
use Nakard\MusicFormats\Media\Id3v2\Frame\Event\InterludeStartEvent;
/**
* Class InterludeStartEventTe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.