text
stringlengths
2
1.03M
<?php return array( 'required' => ':label は必須入力です。', 'min_length' => ':label は、:param:1 文字以上で入力して下さい。', 'max_length' => ':label は、:param:1 文字以下で入力して下さい。', 'exact_length' => ':label は、:param:1 文字で入力して下さい。', 'match_value' => ':label は、使用できない文字が含まれています。使用可能な文字 [:param:1] ', 'match_pat...
<?php // autoload_files.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'a8cfe5b9bcdcb70aedd57bac556e3cf1' => $vendorDir . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php', );
@extends('Theme2.my-profile.my-profile') @section('content') <div class="container-fluid mt-5"> <!-- Heading --> <div class="card mb-4 wow fadeIn"> <!--Card content--> <div class="card-body d-sm-flex justify-content-between" style="direction: rtl"> <h4 clas...
@extends('platform::app') @section('body-left') <div class="d-sm-flex d-md-block wrapper mt-md-4 w-full v-center"> <a href="#" class="header-toggler d-md-none mr-auto order-first" data-toggle="collapse" data-target="#headerMenuCollapse"> <span class="header-toggler-icon i...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header">Edit Data</div> <div class="card-body"> <form action="{{ route...
@extends('adminlte::page') @section('content') <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading">Galería # {{ $gallery->title }}</div> <div class="panel-body"> <a h...
<?php /** * @author @jenschude <jens.schulze@commercetools.de> */ namespace Commercetools\Core\Request\Products; use Commercetools\Core\Client\HttpMethod; use Commercetools\Core\Model\Product\ProductProjectionCollection; use Commercetools\Core\Model\Product\Search\Facet; use Commercetools\Core\Model\Product\Search\...
<?php /** * WXUserInfo 实体类. * @author liushuai <849351660@qq.com> * datetime 2016年9月23日20:04:57 */ include_once(dirname(__FILE__) . '/ModelBase.php'); class WXUserInfo extends ModelBase { public $openid; public $nickname; public $sex; public $province; public $city; public $country; pu...
<?php use PHPUnit\Framework\TestCase; use YllyCertSign\Client\Sign\SignTestClient; use YllyCertSign\Exception\WebserviceException; use YllyCertSign\Request\Request; use YllyCertSign\Request\Signature\Signature; use YllyCertSign\Signator; class SignatorTest extends TestCase { /** * @dataProvider signProvider ...
<?php /* * This file is part of the overtrue/wechat. * * (c) overtrue <i@overtrue.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Ptx\Work\Department; use Pimple\Container; use Pimple\ServiceProviderInterface; /** * Class Servi...
<?php namespace App\Http\Controllers; use App\Models\RegistrationGuideline; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class RegistrationGuidelineController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public f...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\TblRepair */ $this->title = 'Update Tbl Repair: ' . $model->repair_id; $this->params['breadcrumbs'][] = ['label' => 'Tbl Repairs', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->repair_id, 'url' => ['vi...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Dashboard extends CI_Controller { public function __construct() { parent::__construct(); belum_login(); } public function index() { $data['bimbel'] = $this->db->get_where('tb_data_bimbel', ['id' => ...
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4"> <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"> <h1 class="h2"><?php echo ucwords($judul);?></h1> </div> <div class="table-responsive"> <table class="table t...
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\FileType; use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class PlayersType extend...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\ArrayHelper; use kartik\select2\Select2; /* @var $this yii\web\View */ /* @var $model app\models\LicZama */ /* @var $form yii\widgets\ActiveForm */ ?> <section id="widget-grid" class=""> <!-- row --> ...
<?php /** * secp256k1 * * This is the curve used in Bitcoin * * PHP version 5 and 7 * * @category Crypt * @package EC * @author Jim Wigginton <terrafrost@php.net> * @copyright 2017 Jim Wigginton * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link http://pear.php...
<?php namespace OmegaUp; require_once(dirname(__DIR__, 2) . '/server/bootstrap.php'); \OmegaUp\UITools::render( fn (\OmegaUp\Request $r) => \OmegaUp\Controllers\Problem::getProblemDetailsForSmartyV2( $r ) );
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', fun...
<?php use Zend\Expressive\Helper\ServerUrlMiddleware; use Zend\Expressive\Helper\UrlHelperMiddleware; use Zend\Expressive\Middleware\ImplicitHeadMiddleware; use Zend\Expressive\Middleware\ImplicitOptionsMiddleware; use Zend\Expressive\Middleware\NotFoundHandler; use Zend\Stratigility\Middleware\ErrorHandler; use Commo...
<?php /* Smarty version 2.6.18, created on 2008-04-09 23:12:59 compiled from inscription_ok.tpl */ ?> <div class="titre"> <div class="g"></div> <h2>FINALISER VOTRE INSCRIPTION</h2> <div class="d"></div> </div> <div class="bloc moyen"> <p> <strong>Votre inscription s'est déroulée avec succés....
<?php namespace Highwayns\Merchant\Providers; use Konekt\Concord\BaseModuleServiceProvider; class ModuleServiceProvider extends BaseModuleServiceProvider { protected $models = [ \Highwayns\Merchant\Models\MerchantSource::class, \Highwayns\Merchant\Models\MerchantRole::class, ]; }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Session; class Login extends Controller { public function index() { return view('Login'); } public function register(Request $request) { ...
<?php $product_added = 0; function generate_random_id() { $i = 0; $res = ""; while ($i < 12) { if ($i % 2 == 0) $char = chr(rand(97, 122)); else $char = rand(0, 9); $res = $res.$char; $i++; } return $res; } if ($_POST['submit'] == 'OK') { $error = 0; if (isset($_POST['name']) && $_POST['name'] ...
<?php /** * Exception handler for the horde/Browser package. * * Copyright 2010-2016 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @author Michael Slusarz <slusarz@horde.org>...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class AdminAccount extends Model { use HasFactory; }
<!DOCTYPE html> @extends("layouts.mcdn") @section("title") Admin Asignaturas @endsection @section("headex") <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.devbridge-autocomplete/1.4.11/jquery.autocomplete.min.js" integrity="sha512-uxCwHf1pRwBJvURAMD/Gg0Kz2F2BymQyXDlTqnayuRyBFE7cisFCh2dSb1HIumZCRHuZikgeqXm...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDeliveryConfigsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('deliver...
<?php use App\User; use App\Comment; use App\BlogPost; use Illuminate\Database\Seeder; // @codingStandardsIgnoreLine class CommentsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $posts = BlogPost::all(); $users = U...
<?php use yii\widgets\ActiveForm; use yii\helpers\Url; ?> <div class="row"> <div class="col-md-12 central-content" id="central-content"> <div> <h1><?= Yii::t('app', 'tv.tv_programm_on_today') ?>, <span class="now-date-for-tv"><?= date("j F Y, l") ?></span></h1> <div class="days...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Post something') }}</div> <div class="card-body"> @if (sessi...
<?php $__env->startSection('content'); ?> <h1>BRAVO, VOTRE LIEN A ETE RACCOURCI</h1> <p> <a class="btn btn-primary" href="<?php echo e(action('LinksController@show', ['id' => $link->id])); ?>"> <?php echo e(action('LinksController@show', ['id' => $link->id])); ?> </a> </p> <?php $__env->stopSection(); ?>...
<?php declare(strict_types=1); namespace PHPJava\Packages\java\util; use PHPJava\Exceptions\NotImplementedException; use PHPJava\Packages\java\lang\Object_; // use PHPJava\Packages\java\util\Enumeration; /** * The `Dictionary` class was auto generated. * * @parent \PHPJava\Packages\java\lang\Object_ */ class Dic...
<?php namespace App\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Database\Eloquent\Model; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Http\Request; use App\Models...
<?php /* +--------------------------------------------------------------------------+ | Zephir Language | +--------------------------------------------------------------------------+ | Copyright (c) 2013-2015 Zephir Team and contributors ...
<?php @ini_set("display_errors","1"); @ini_set("display_startup_errors","1"); require_once("include/dbcommon.php"); require_once("include/clients_variables.php"); require_once('include/xtempl.php'); require_once('classes/editpage.php'); require_once("classes/searchclause.php"); add_nocache_headers(); if( !EditPage...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>{{config('app.name')}} | {{$product->title}}</title> <link rel="shortcut icon" type="image/png" href="{{url('/images/icono.png')}}"/> <meta name="viewport" content="width=dev...
@extends('master') @section('page-title', 'Reference Library Portal') @section('header') @parent <style> .margin-top-57{ margin-top: -57px; } </style> @endsection @section('title', 'Dashboards') @section('content') <div class="container margin-top-5"> <div class="t...
<!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>@yield('title')</title> <!-- Boostrap --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn....
<?php /** * ProjectGLS * * @copyright 2013 ProjectGLS * @license http://next.mmobrowser.com/projectgls/license.txt * * This file contains database functions specific to search related activity. * * Simple Machines Forum (SMF) * * @package SMF * @author Simple Machines http://www.simplemachines.org * @copyr...
<?php require __DIR__ . '/../vendor/autoload.php'; // If account is public you can query Instagram without auth $instagram = new \InstagramScraper\Instagram(); $medias = $instagram->getMedias('kevin', 25); // Let's look at $media $media = $medias[0]; echo "Media info:\n"; echo "Id: {$media->getId()}\n"; echo "Short...
a:6:{i:0;s:2:"id";i:1;s:3:"uid";i:2;s:7:"book_id";i:3;s:5:"state";s:3:"_pk";s:2:"id";s:5:"_type";a:4:{s:2:"id";s:7:"int(10)";s:3:"uid";s:7:"int(10)";s:7:"book_id";s:7:"int(10)";s:5:"state";s:7:"int(10)";}}
<?php /** * Humbug * * @category Humbug * @package Humbug * @copyright Copyright (c) 2015 Pádraic Brady (http://blog.astrumfutura.com) * @license https://github.com/padraic/humbug/blob/master/LICENSE New BSD License */ namespace Humbug\Mutator\Arithmetic; use Humbug\Mutator\MutatorAbstract; class Mod...
<?php /** * Created by PhpStorm. * User: ZZ * Date: 2018/5/13 * Time: 16:10 */ function getJokeInfo(){ if(isset($_SERVER['HTTP_APPNAME'])){ $mysql_host = SAE_MYSQL_HOST_M; $mysql_host_s = SAE_MYSQL_HOST_S; $mysql_port = SAE_MYSQL_PORT; $mysql_user = SAE_MYSQL_USER; $mysq...
<?php require_once("/pages/Logs/logs_connexion.php");
<?php interface Ac_I_Mail_ExtendedMessage extends Ac_I_Mail_Message { function getMailCcRecipients(); function getMailBccRecipients(); function getMailReplyTo(); function getMailHeaders(); function getMailCharset(); function getMailAttachments(); }
<?php namespace core\field; /** * MIT License * * Copyright (c) 2019 jeamu * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the righ...
<?php namespace backend\models; use yii\base\Model; use yii\data\ActiveDataProvider; use backend\models\Manpowers; /** * ManpowersSearch represents the model behind the search form of `backend\models\Manpowers`. */ class ManpowersSearch extends Manpowers { /** * {@inheritdoc} */ public function r...
<div class="sidebar"> <nav class="sidebar-nav"> <ul class="nav"> <li class="nav-title">{{ trans('brackets/admin-ui::admin.sidebar.content') }}</li> <li class="nav-item"><a class="nav-link" href="{{ url('admin/users') }}"><i class="nav-icon icon-book-open"></i> {{ trans('admin.user.ti...
<?php /** * contentinum - accessibility websites * * LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. ...
<?php declare(strict_types = 1); /* * @package AJAX_Chat * @author Sebastian Tschan * @copyright (c) Sebastian Tschan * @license Modified MIT License * @link https://blueimp.net/ajax/ */ /** * Class CustomAJAXChat. */ class CustomAJAXChat extends AJAXChat { public function __construct() { pare...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class SendTicketMail extends Mailable { use Queueable, SerializesModels; /** * Create a new message instance. * * @return vo...
<?php namespace App\Http\Controllers; use App\Models\Combo; use App\Models\Produto; use Illuminate\Http\Request; class ProdutoController extends BaseController { // protected $rules = [ 'page' => 'required|numeric', 'paginate' => 'required|numeric', 'fields.*' => 'array' ];...
@extends('admin.layouts.admin') @section('title', __('Batch Replace')) @section('nav', __('Batch Replace')) @section('content') <form class="form-inline" action="{{ url('admin/article/replace') }}" method="post"> {{ csrf_field() }} <table class="table table-striped table-bordered table-hover"> ...
<?php namespace Mercator\SSO; const ACTION_JS = 'mercator-sso-js'; const ACTION_LOGIN = 'mercator-sso-login'; // Add in to Mercator load add_action( 'mercator_load', __NAMESPACE__ . '\\run_preflight' ); /** * Is SSO enabled? * * @return boolean */ function is_enabled() { /** * Enable/disable cross-domain ...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Product; use App\Category; use Illuminate\Http\Request; use App\Http\Requests\ProductRequest; use Illuminate\Support\Facades\Storage; class ProductController extends Controller { /** * Display a listing of the resource....
<?php namespace DFSClientV3\Entity\Custom; class AdsTrafficByPlatformsLiveEntityMainTasksResultMobile { /** * @var null|string $language_code; */ public $language_code = null; /** * @var null|integer $location_code; */ public $location_code = null; /** * @var null|integ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login</title> <link rel="icon" type="image/png" href="<?php echo base_url('assets/') ?>/img/favicon.png" /> <link rel="stylesheet" href="<?php echo base_url('assets/') ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php //include_once __DIR__.'/../Sabre/autoload.php'; include_once __DIR__.'/../Sabre/DAV/Client.php'; include_once __DIR__.'/../Sabre/DAV/Exception.php'; /*! Uploads the backup to any WebDAV server using login and password it is insecure to store login and password on the server so oauth uploaders are preffered (t...
<?php session_start(); include_once '../Dao/lojaDao.php'; if(!empty($_POST['razao']) && !empty($_POST['cnpj']) && !empty($_POST['fone']) && !empty($_POST['email']) && !empty($_POST['endereco'])){ $objetoLoja = new Loja(); $objetoLoja->setRazao($_POST['razao']); $objetoLoja->setCnpj($_POST['cnpj']); $objetoLoja->setFo...
<?php /*============================================================================== * Title : Assets for main page * Author : Digger (c) SAD-Systems <http://sad-systems.ru> * Created on : 01.09.2015 *============================================================================== */ return [ 'met...
<?php session_start(); // Create/resume session $visited = $_SESSION['visited'] ?? null; // Get data if ($visited) { // If visited $greeting = 'Hello again!'; // Returning user } else { // Otherwise $greeting = 'Welcome!'; ...
<?php namespace app\modules\doctors; /** * doctors module definition class */ class doctors extends \yii\base\Module { /** * @inheritdoc */ public $controllerNamespace = 'app\modules\doctors\controllers'; /** * @inheritdoc */ public function init() { parent::init(); ...
<?php namespace App\Http\Responses\Backend\KnowledgeBase; use Illuminate\Contracts\Support\Responsable; class CreateResponse implements Responsable { /** * To Response * * @param \App\Http\Requests\Request $request * * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View ...
<?php declare(strict_types=1); /* * 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 information, ple...
<?php namespace Illuminate\Session; use Carbon\Carbon; use SessionHandlerInterface; use Illuminate\Database\ConnectionInterface; /** * @deprecated since version 5.2. Use Illuminate\Session\DatabaseSessionHandler. */ class LegacyDatabaseSessionHandler implements SessionHandlerInterface, ExistenceAwareInterface { ...
<?php namespace SecIT\SchemaOrg\Mapping\Property; use SecIT\SchemaOrg\Mapping\Type; /** * ProductionCompanyProperty class. * * @method ProductionCompanyProperty setValue($value) */ class ProductionCompanyProperty extends AbstractProperty { /** * Get schema URL. * * @return string */ public function ...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Patient */ $this->title = 'Update Patient: ' . $model->hos_guid; $this->params['breadcrumbs'][] = ['label' => 'Patients', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->hos_guid, 'url' => ['view', 'id' => $...
<?php namespace App\Http\Controllers\Store; use Validator; use App\Product; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Storage; use Illuminate\Database\Eloquent\ModelNotFoundException as NotFoundError; class ProductsController extends Controller { public funct...
<?php /** * Class ProviderB */ namespace Moro\Container7\Test; /** * Class ProviderB */ class ProviderB { public function withIntegerParameters(int $i) { return $i; } }
<?php namespace app\bis\controller; class Deal extends Base { public function index() { $bisId = $this->getLoginUser()->bis_id; $deal = model('Deal')->getDealByBisId($bisId); return $this->fetch('', [ 'deal' => $deal ]); } /** * 添加分店信息方法 * @return ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Reservas extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('reservas', function (Blue...
@extends('template.main') @section('title', $acara->nama_acara.' - Acara | ') @section('content') <div> <div class="container mt-3"> <nav aria-label="breadcrumb"> <ol class="breadcrumb bg-white p-3 shadow-sm rounded-1"> <li class="breadcrumb-item"><a href="{{ route('site.home') }}"><i class="fas fa-h...
<?php namespace App\Models; use App\Models\Traits\NamedEntityTrait; use Illuminate\Database\Eloquent\Model; class Interest extends Model { use NamedEntityTrait; public $guarded = []; public $casts = [ "matched" => "boolean" ]; public function offer() { return $this->belongsT...
@extends('Admin.master') @section('content') <div class="container-fluid"> <div class="page-header "> <h2>مدیریت کارخانه ها</h2> <a href="{{route('factoryPipe.create')}}" class="btn btn-primary btn-sm mb-3">افزودن کارخانه</a> </div> <div class="table-responsive"> ...
<?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\RenderingStrategy; use Symfony\Component\H...
<li class="splide__slide h-full"> <img class="w-full h-full object-cover" src="{{$attributes->get('src')}}" alt="{{$attributes->get('alt')}}"> </li>
@extends('front.master.master') @section('title') Register @endsection <style> .custom_bangla_text { color: white; font-family: 'Baloo Da 2', cursive; font-size: 17px; line-height: 25px; } .social_icon{ width: 30px; height: 30px; display: inline-bloc...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php /* * DevMode functionality allows limiting access to used server/app only to * limited developer ips * * Author: Bismay Kumar Mohapatra bismay4u@gmail.com * Version: 1.0 */ if(!defined('ROOT')) exit('No direct script access allowed'); if(!function_exists("__testDevMode")) { function __testDevMode($addr,$...
<?php namespace App\Http\Controllers\Api; use App\Droit\Colloque\Repo\ColloqueInterface; use App\Droit\Inscription\Repo\InscriptionInterface; use App\Droit\Inscription\Worker\InscriptionWorkerInterface; use App\Droit\User\Repo\UserInterface; use App\Droit\Inscription\Repo\GroupeInterface; use App\Droit\Inscription\Re...
@php $sectores = $convocatoria->sectoresName($convocatoria); $sectoresArray = ''; foreach ($sectores as $sector) { $sectoresArray .= $sector; if ($sector != $sectores->last()) { $sectoresArray .= '; '; } } $subsectores = $convocatoria->subsectoresName($convocator...
<?php namespace App\Http\Controllers\frontend; use App\Http\Controllers\Controller; use App\Http\Requests\CustomerRequest; use App\Models\Customer; use App\Models\Order; use Illuminate\Http\Request; class OrderController extends Controller { /** * Display a listing of the resource. * * @return \Il...
<?php declare(strict_types=1); namespace Sorani\SimpleFramework\Renderer; use Twig\Extension\DebugExtension; use Psr\Container\ContainerInterface; use Sorani\SimpleFramework\Renderer\TwigRenderer; /** * Create a Twig Environement instance an populate it with default values */ class TwigRendererFactory { /** ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Courier extends Model { use HasFactory; protected $guarded=[]; }
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; // use Illuminate\Support\Facades\DB; use App\Http\Controllers\Controller; use DB; class AlbumController extends IndexController { public function index() { $album = DB::table("album")->paginate(15); return view('admin.album.a...
<?php /* FOSUserBundle:Group:new_content.html.twig */ class __TwigTemplate_61f0c3e8dfce4505ce6d140b8fcec2387f6f2c677388550b94f619a35d045337 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = ar...
<?php namespace App\Http\Controllers; use App\Models\Blacklist; use Illuminate\Http\Request; class BlacklistController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return Blacklist::all(); ...
@extends('layouts.app') @section('title', 'Categories') @php /**@var \App\Models\Db\Category[]|\Illuminate\Database\Eloquent\Collection|\Illuminate\Pagination\Paginator $categories*/ @endphp @section('content') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left"> ...
<?php namespace Dhayakawa\SpringIntoAction\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Support\Facades\Storage; class ProjectReport extends Mailable { use Queueable, SerializesModels; publi...
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Ricoh; use JMS\Serializer\Annotation\ExclusionPolicy; u...
<?php declare (strict_types=1); namespace Symplify\SmartFileSystem\Normalizer; use _PhpScoper78e1a27e740b\Nette\Utils\Strings; /** * Used from * https://github.com/phpstan/phpstan-src/blob/02425e61aa48f0668b4efb3e73d52ad544048f65/src/File/FileHelper.php#L40, * with custom modifications * * @see \Symplify\SmartFi...
<?php namespace Edumad\Base\Supports; class PageTitle { /** * @var string */ protected $title; /** * @param $title */ public function setTitle($title) { $this->title = $title; } /** * @param bool $full * @return string */ public function get...
<?php namespace Frank\Http\Controllers; use Frank\Models\Project; use Frank\Models\User; use Illuminate\Http\Request; class StakeholdersController extends Controller { public function index(Project $project) { return view('stakeholders.index', ['stakeholders' => $project->stakeholders, 'project' => $...
<?php declare(strict_types=1); namespace Spawnia\Sailor\Testing; class MockRequest { public string $query; public ?\stdClass $variables; public function __construct(string $query, \stdClass $variables = null) { $this->query = $query; $this->variables = $variables; } }
<?php namespace App\Models; use App\Traits\Uuids; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Reply extends Model { use HasFactory, Uuids; public $fillable = [ 'comment_id', 'description', 'profile_id', 'is_status', ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddColumnDescriptionInProducts extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('prod...