text
stringlengths
2
1.03M
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; use Carbon\Carbon; use App\GiaSu; use App\PhuHuynh; use App\Mon; use App\GiaSu_ChuyenNganh; use Ap...
--TEST-- Exception during break 2 --FILE-- <?php class A { public $a = 1; public $b = 2; public function __destruct() { throw new Exception; } } function foo() { foreach ([0] as $_) { foreach (new A as $value) { try { break 2; } catch (Excep...
<?php class Controller_Top extends Controller_App { public function action_index() { // check login if (!$this->checkLogin() || !$this->checkLoginByToken()) { Response::redirect('/'); } /*set data*/ $data = []; $data['mail_address'] = Session::get("mail_address"); ...
<?php /** * CreateReportSpecification * * PHP version 7.2 * * @category Class * @package SellingPartnerApi */ /** * Selling Partner API for Reports * * The Selling Partner API for Reports lets you retrieve and manage a variety of reports that can help selling partners manage their businesses. * * The vers...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet...
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Package; use Composer\Repositor...
<?php /** * Swift Mailer wrapper class. * * @author Martin Nilsson <martin.nilsson@haxtech.se> * @link http://www.haxtech.se * @copyright Copyright 2010 Haxtech * @license GNU GPL */ class SwiftMailer { public function init() { require_once(dirname(__FILE__).'/lib/swift_required.php'); } /* Helpers */ ...
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of La...
<?php $LANG = array( 'organization' => 'Entreprise', 'name' => 'Nom', 'website' => 'Site Web', 'work_phone' => 'Téléphone', 'address' => 'Adresse', 'address1' => 'Rue', 'address2' => 'Appt/Bâtiment', 'city' => 'Ville', 'state' => 'Région/Département', 'postal_code' => 'Code post...
<?php namespace AppWatcher\Logs\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class CreateLogRequest extends FormRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'level' => 'r...
<table class="table table-bordered table-striped table-hover table-heading table-datatable" id="datatable-1"> <thead> <tr> <th>Articulo</th> <th>Descripción</th> <th>Precio</th> <th>Cantidad</th> <th>Activo</th> </tr> </thead> <tbody> @if ($city) @foreach($city->product...
<?php namespace Dvsa\OlcsTest\Cli\Domain\Command\Permits; use Dvsa\Olcs\Cli\Domain\Command\Permits\MarkSuccessfulRemainingPermitApplications; /** * Mark Successful Remaining Permit Applications test * * @author Jonathan Thomas <jonathan@opalise.co.uk> */ class MarkSuccessfulRemainingPermitApplicationsTest extend...
<?php /** * wizard * * @link https://www.yunsom.com/ * @copyright 管宜尧 <guanyiyao@yunsom.com> */ namespace App\Http\Controllers; use App\Policies\ProjectPolicy; use App\Models\Document; use App\Models\Project; use Illuminate\Database\Eloquent\Collection; use Illuminate\Http\Request; use Mpdf\Mpdf; use Log; u...
<?php namespace App; use Illuminate\Foundation\Auth\User as Authenticatable; /** * App\User * * @property integer $id * @property string $name * @property string $email * @property string $password * @property string $remember_token * @property \Carbon\Carbon $created_at * @property \Carbon\Carbon $updated_...
<?php namespace Modules\User\Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; use Modules\Setting\Models\Setting; use Nwidart\Modules\Facades\Module; use Schema; class UserDatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void ...
<?php namespace App\Models; use App\Entities\IcomSpOperadora; class IcomSpOperadoraModel extends AbstractModel { protected $DBGroup = 'default'; protected $table = 'icom_sp_operadoras'; protected $primaryKey = 'id'; protected $useAutoIncrement = true; protected $insertI...
<?php /* '软件名称:苹果CMS 源码库:https://github.com/magicblack '-------------------------------------------------------- 'Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) '遵循Apache2开源协议发布,并提供免费使用。 '-------------------------------------------------------- */ @session_start(); @header('Content-Type:text/html;Char...
@extends('templates.master') @section('pwd', 'Data Keterlambatan') @section('css') <meta name="csrf-token" content="{{ csrf_token() }}"> @endsection @section('content') <div class="card data-rendered"> {{-- data render --}} </div> @endsection @section('script') <script src="{{asset('assets/functions/print/main....
<?php /** * DataBroker - Core Data Broker between applications and Data Providers * File : /src/data/DataBroker.php * * PHP version 7.0 * * @package Stationer\Graphite * @author Tyler Uebele * @license MIT https://github.com/stationer/Graphite/blob/master/LICENSE * @link https://github.com/stationer/Gr...
<?php /** * 以下配置为系统级的配置,通常放置不同环境下的不同配置 * * @license http://www.phalapi.net/license GPL 协议 * @link http://www.phalapi.net/ * @author dogstar <chanzonghuang@gmail.com> 2017-07-13 */ return array( /** * @var boolean 是否开启接口调试模式,开启后在客户端可以直接看到更多调试信息 */ 'debug' => false, /** * @va...
@extends('layouts.app') <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script> @section('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"><h2>Categ...
<?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit8cf38496ab2eb354473d5c04ef84f74c::getLoader();
<?php return [ /* |-------------------------------------------------------------------------- | Login Language Lines |-------------------------------------------------------------------------- | | // | */ 'login' => 'Connexion', /*TAG_LANG*/ ];
<?php /** * The template for displaying archive pages. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Square One */ get_header(); ?> <div class="container"> <div class="row"> <div class="col-md-8"> <div id="primary" class="content-area"> <main id="main" class="site-main" r...
<body id="page-top"> <nav class="navbar navbar-expand navbar-dark bg-dark static-top"> <a class="navbar-brand mr-1" href="index.php">RIMI</a> <button class="btn btn-link btn-sm text-white order-1 order-sm-0" id="sidebarToggle" href="#"> <i class="fas fa-bars"></i> </button> <!-- ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="description" content=""> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- The above 4 meta tags *must* come first in the head; ...
<?php namespace AngelBlanco\Mongodb\Tests; use MongoDB\Client; use MongoDB\Database; use Illuminate\Support\Facades\DB; use AngelBlanco\Mongodb\Collection; use AngelBlanco\Mongodb\Connection; use AngelBlanco\Mongodb\Query\Builder; use Illuminate\Support\Facades\Config; use AngelBlanco\Mongodb\Schema\Builder as Schema...
<?php App::uses ( 'ApiModel', 'Model' ); App::import ( 'Vendor', 'ApnsPHP/Log/Interface' ); App::import ( 'Vendor', 'ApnsPHP/Log/Embedded' ); App::import ( 'Vendor', 'ApnsPHP/Abstract' ); App::import ( 'Vendor', 'ApnsPHP/Exception' ); App::import ( 'Vendor', 'ApnsPHP/Push' ); App::import ( 'Vendor', 'ApnsPHP/Message' )...
@extends('admin.master') @section('content') <main class="app-content"> <div class="app-title"> <div> <h1><i class="fa fa-edit"></i> Manage Fund Transfer</h1> <p>Manage Fund Transfer Form</p> </div> <ul class="app-breadcrumb breadcrumb"> <li class="breadcrumb-item"><i class="fa fa-home f...
<li><a href="{{ action('ConfiguracionControlador@getIndex') }}">Configuraciones Generales</a></li>
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string|null ...
<?php namespace App\Http\Controllers\servicio; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Cliente; class ClienteController extends Controller { public function __construct() { $this->middleware('auth'); } public function guardar(Request $request) { $cliente=new...
<?php namespace LaiBao\Image\Commands; class Argument { /** * Command with arguments * * @var AbstractCommand */ public $command; /** * Key of argument in array * * @var integer */ public $key; /** * Creates new instance from given command and key ...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\Trading\Types; use DTS\eBaySDK\Trading\Types\PaymentInformationType; class PaymentIn...
<?php namespace App\Http\Controllers; use App\Room; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class RoomController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $rooms = DB...
<?php namespace api\models\user; class CancelAccountLog extends \common\models\user\CancelAccountLog { }
<?php /****************************************************************************/ /* */ /* YOU MAY WISH TO MODIFY OR REMOVE THE FOLLOWING LINES WHICH SET DEFAULTS */ /* ...
<?php /* * $Id: 811cc87eb5f11dc6d7833b1fc89a5193ceb268dd $ * * 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. IN...
@extends('layouts.user-dashboard-layout') @section('title') Online Truck Booking | Packers and Movers - HAULTIPS @endsection @section('body') <div class="col-md-8"> <div class="_dash_rft"> <h3>My Delivery Details</h3> <br> <div class="form-group row"> <div class="col-md-4"> ...
<?php namespace App\Http\Controllers; use App\Category; use App\Posts; use Illuminate\Http\Request; class BlogController extends Controller { public function index(Posts $posts) { $category_widget = Category::all(); $title = 'Blog SEO Sederhana'; $data = $posts->latest()->take(8)->g...
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2018/9/25 0025 * Time: 15:51 */ return [ 'hello thinkphp' => '欢迎使用ThinkPHP', 'data type error' => '数据类型错误', 'SF'=>'顺丰快递', 'ZT'=>'中通快递', 'YT'=>'圆通', 'YZ'=>'邮政', 'WFH'=>'未发货', 'HBC'=>'HBC支付', 'XCU'=>'XAU支付', 'WFK...
<?php declare(strict_types=1); /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\TextUI\XmlConfiguration; use const BAR; use cons...
<?php include "header.php"; include "config.php"; if (isset($_POST["submit"])){ $fullName = $_POST["fullName"]; $emailAddress = $_POST["emailAddress"]; $dob = $_POST["dob"]; $gender = $_POST["gender"]; // files $photoname =$_FILES["photo"]["name"]; $tempname=$_FILES["photo"]["tmp_name"];...
<?php namespace App\Http\Controllers; class PagesController extends Controller { public function getIndex() { return view('pages.welcome'); } public function getAbout() { $first = 'Andrey'; $last = 'Dmitriew'; $fullname = $first . ' ' . $last; ...
@extends('index') @section('post') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left"> <h2>Posts manager</h2> <br> </div> @can('createPost',\App\Model\Post::class) <div class="pull-right"> <a...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Wednesday extends Model { // }
<?php namespace Sportsdata\API\NFL\Endpoint; class ProjectedFantasyDefenseGameStatsWDfsSalaries extends \Sportsdata\API\NFL\Runtime\Client\BaseEndpoint implements \Sportsdata\API\NFL\Runtime\Client\Endpoint { protected $week; protected $season; protected $format; /** * * * @param string $...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class HomeController extends Controller { public function __construct() { $this->middleware('auth'); } public function index() { return view('admin.home'); ...
<?php /* TwigBundle:Exception:error.xml.twig */ class __TwigTemplate_1125c977a6c71cbe3fff7592ae49b04ad50e9a6bfbb60f0513467001032d5e83 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php /** * Created by IntelliJ IDEA. * User: hentschel * Date: 26.06.13 * Time: 14:19 * To change this template use File | Settings | File Templates. */ namespace org\camunda\php\sdk\service; use Exception; use org\camunda\php\sdk\entity\request\ExecutionRequest; use org\camunda\php\sdk\entity\request\VariableR...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</tit...
<?php namespace App\Http\Middleware; use Closure; class RedirectIfWizardNotCompleted { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { // Check...
@inject('request', 'Illuminate\Http\Request') @extends('layouts.app') @section('content') <script type="text/javascript"> function confirmMsg(){ var msg = confirm("are you sure"); if(msg){ return true; } else{ return false; } } </script>...
<?php use App\Store; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Http; class StoreSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $response = Http::withHeaders([ 'Content-Type' => 'application/json...
<?php /** * EnumClass * * PHP version 7.2 * * @category Class * @package OpenAPI\Client * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this fo...
<?php /* @version v5.20.12 30-Mar-2018 @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community First cut at the Netezza Driver by Josh Eldridge joshuae74#hotmail.com Based on the previous postgres drivers. http:...
<?php namespace mrpsdk\endpoints\stats; use mrpsdk\endpointInterfaces\stats\StatsInterface; use mrpsdk\endpointTraits\getters\BaseUrlTrait; use mrpsdk\endpointTraits\getters\GetRequestTrait; use mrpsdk\endpointTraits\getters\UrlParamsTrait; use mrpsdk\endpointTraits\setters\CurrentPageTrait; use mrpsdk\endpointTraits...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AdministrationController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form for creatin...
<!-- start page-title --> <section class="page-title"> <div class="container"> <div class="row"> <div class="col col-xs-12"> <h2>Hino700 Heavy Trucks </h2> <ol class="breadcrumb"> <li><a h...
<?php namespace AppBundle\Repository; use Doctrine\ORM\Tools\Pagination\Paginator; class EpisodeRepository extends \Doctrine\ORM\EntityRepository { public function findAllEpisodes($page, $nbreParPage) { $query = $this->createQueryBuilder('e') ->where('e.publier = 1') ->orderBy...
<?php /** * @Author: Wang chunsheng email:2192138785@qq.com * @Date: 2021-01-20 22:06:32 * @Last Modified by: Wang chunsheng email:2192138785@qq.com * @Last Modified time: 2022-02-08 17:13:09 */ namespace addons\diandi_ai\admin; use admin\controllers\AController; /** * Default controller for the `diandi_...
<?php # with inline keyboard include 'phgram.phar'; use \phgram\Bot; use function \phgram\ikb; $bot = new Bot('TOKEN'); $offset = 0; while (true) { $updates = $bot->getUpdates(['offset' => $offset, 'timeout' => 300])['result']; foreach ($updates as $update) { $bot->setData($update); $text = $bot->Text(); $...
<?php namespace MailPoet\Tasks\Subscribers; if (!defined('ABSPATH')) exit; use MailPoet\Models\ScheduledTaskSubscriber; /** * @implements \Iterator<null, array> */ class BatchIterator implements \Iterator, \Countable { private $taskId; private $batchSize; private $lastProcessedId = 0; private $batchLastI...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class OrderGoods extends Model { // protected $guarded = []; }
<?php session_start(); $con=mysqli_connect('localhost','root',''); mysqli_select_db($con,'myntra'); $_SESSION['order_id']=14; $_SESSION['customer_id']=1; $sql="select sum(total) from order_log where order_id=14"; $result=mysqli_query($con,$sql); $temp=mysqli_fetch_assoc($result); $total=$temp['sum(total)']; ?> <!DOCT...
<?php namespace App\Http\Controllers\Admin; use App\Repositories\Contracts\ChoRepositoryInterface; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Repositories\Contracts\NganhKinhDoanhRepositoryInterface; use App\Repositories\Contracts\HoKinhDoanhRepositoryInterface; class ChoController ext...
<?php //Dashboard override core en language system validation or define your own en language validation message return [ 'xin_acc_inv_payments' => 'Ödeme Geçmişi', 'xin_invoice_no' => 'Fatura #', 'xin_acc_account' => 'Hesap', 'xin_amount' => 'Miktar', 'xin_billing_invoices' => 'Fatura Faturaları', 'xin_transaction_dat...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class HomeController extends Controller { public function index() { return view('index'); } public function create() { return view('create'); } public function store(Request $request) { return...
<?php use Illuminate\Support\Facades\Route; Route::get('/', [\App\Http\Controllers\PrincipalController::class,'principal'])->name('site.index'); Route::get('/sobrenos', [\App\Http\Controllers\SobrenosController::class, 'sobrenos'])->name('site.sobrenos'); Route::get('/contato', [\App\Http\Controllers\ContatoControl...
<!-- Page header --> <div class="page-header page-header-default"> <div class="page-header-content"> <div class="page-title"> <h4> <span class="text-semibold"><?php _el('add_sale');?></span> </h4> </div> </div> <div class="breadcrumb-line"> <u...
<?php declare(strict_types=1); namespace Laminas\AutomaticReleases\Github\Api\GraphQL; use Psl\Json; use Psl\Type; use Psr\Http\Client\ClientInterface; use Psr\Http\Message\RequestFactoryInterface; final class RunGraphQLQuery implements RunQuery { private const ENDPOINT = 'https://api.github.com/graphql'; ...
<?php declare(strict_types=1); namespace TBF2GM; abstract class Exception extends \Exception { }
<?php namespace HelpBox\Bundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\FixtureInterface; use Doctrine\Common\Persistence\ObjectManager; use HelpBox\Bundle\Entity\Article; use HelpBox\Bundle\Entity\Categorie; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\Dependency...
<?php namespace Robo\Common; use Psr\Log\LoggerAwareInterface; use Robo\Contract\ConfigAwareInterface; use Robo\Contract\OutputAwareInterface; use Robo\Contract\VerbosityThresholdInterface; use Symfony\Component\Process\Process; class ProcessExecutor implements ConfigAwareInterface, LoggerAwareInterface, OutputAware...
<?php /** * @package dompdf * @link http://dompdf.github.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @author Helmut Tischer <htischer@weihenstephan.org> * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License *...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Command extends Model { private $sudoPassword = 'yes'; protected $table = 'applications'; protected $fillable = ['name', 'status']; public function execute(String $command) { exec($command, $output, $error); if (...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div style="color:#662D1C;" class="card-header">{{ __('Register') }}</div> <div class="card-body"> ...
<?php /* Smarty version 3.1.39, created on 2021-05-06 22:52:43 from '/opt/lampp/htdocs/Kozossegi/kozossegi_oldal/Kozossegi/Teszt/templates/klub.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.39', 'unifunc' => 'content_6094571be...
<?php declare (strict_types=1); namespace RectorPrefix20210609; use Rector\Core\Configuration\Option; use Rector\Core\ValueObject\PhpVersion; use Rector\DowngradePhp73\Rector\FuncCall\DowngradeArrayKeyFirstLastRector; use Rector\DowngradePhp73\Rector\FuncCall\DowngradeTrailingCommasInFunctionCallsRector; use Rector\D...
<?php namespace Gdbots\Tests\Pbjc\Validator; use Gdbots\Pbjc\FieldDescriptor; use Gdbots\Pbjc\SchemaDescriptor; use Gdbots\Pbjc\Validator\FieldGreaterOrEqualThan; class FieldGreaterOrEqualThanTest extends \PHPUnit_Framework_TestCase { public function testValidateNoConfig() { $a = new SchemaDescriptor...
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\Log; use GuzzleHttp\Client; use App\Farm; use App\Zone; use App\Path; use App\Type; use App\NorthEastBound; use App\SouthWestBound; use App\CloningErrors; class CloneByFarmZones extends Command { /** * The na...
<?php namespace Payabbhi; use Payabbhi\Order; use Payabbhi\Payabbhi; use PHPUnit\Framework\TestCase; class OrderTest extends PayabbhiTestCase { public function testAll() { $api = self::authorizeFromEnv(); $a = $api->order->all(); $this->assertTrue(is_int($a->total_count));...
<?php /* |-------------------------------------------------------------------------- | Copyright (C) (2019) (Franceskynov) (franceskynov@gmail.com) |-------------------------------------------------------------------------- | */ namespace App\Http\Controllers\Api; use App\Utils\DataManipulation; use App\Utils\Cus...
<?php namespace App\Domains\Store\Jobs; use Lucid\Units\Job; use App\Data\Repositories\StoreRepository; class SaveStoreJob extends Job { /** * Create a new job instance. * * @return void */ public function __construct($id = null, string $name, string $address, string $url) { $...
<?php namespace Symfony\Component\EventDispatcher { interface EventSubscriberInterface { public static function getSubscribedEvents(); } } namespace Symfony\Component\HttpKernel\EventListener { use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\HttpKernel\KernelEvents; use Symfony\Component...
<ul class="sidenav-subnav collapse"> @foreach($childs as $child) <li> <a href="{{URL::to($child->url)}}"><span><i class="fa fa-circle-thin" aria-hidden="true"></i></span> &nbsp; {{ $child->title }}</a> @if(count($child->childs)) @include('backendlayout.manageChil...
<?php namespace ShaoZeMing\AliVod\SDK; /** * Request of GetWatermark * * @method string getWatermarkId() * @method string getResourceOwnerId() * @method string getResourceOwnerAccount() * @method string getOwnerId() */ class GetWatermarkRequest extends \ShaoZeMing\Aliyun\Core\RpcAcsRequest { /** * @v...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * @package CodeIgniter * @author ExpressionEngine Dev Team * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. * @license http://codei...
<?php namespace OopBundle\Objects\Traits; trait StaticTraite { public static function sayHello() { return 'Hello World'; } }
@extends('master') @section('main_content') <div class="page-head content-top-margin"> <div class="container"> <div class="row"> <div class="col-md-8 col-sm-7"> <ol class="breadcrumb"> <li><a href="{{url('')}}">Home</a></li> <li class="acti...
<?php /** * GetOrderResponse * * PHP version 7.3 * * @category Class * @package SellingPartnerApi */ /** * Selling Partner API for Direct Fulfillment Orders * * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor's order data. * * The version o...
<?php namespace App\Http\Controllers; use App\Model\poli; use App\Model\dokter; use App\Model\pasien; use App\Model\obat; use Illuminate\Http\Request; class berandaController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public func...
<?php namespace App\Controllers; class Home extends BaseController { public function getToken(){ $ch = curl_init('http://service-api-rh.herokuapp.com/api/cargo/all'); #para pegar o token ja tem que se autenticar curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CUR...
<?php /* * This file is part of Laravel Love. * * (c) Anton Komarev <anton@komarev.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); use Cog\Laravel\Love\Support\Database\Migration; use Illuminate\Dat...
<?php // Heading $_['heading_title'] = 'لوحة القيادة'; $_['heading_dashboard'] = 'مرحبا بكم في بوابة الوظيفة'; $_['heading_job'] = 'مرشح لوظيفة'; $_['heading_available'] = 'اعمال متوفرة'; $_['heading_resume'] = 'ملف الشركة'; // Text $_['text_dashboard'] = 'لوحة القيادة'; // Error $_['error_install'] = 'تحذير: ل...
@extends('layouts.app') @section('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">Módulo de Tesis - @php echo Auth::user()->tuser @endphp</div> <div class="pa...
<?php namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Auth; use Tests\Unit\VideoTest; class Video extends Model { use HasFactory; public st...
<?php namespace App\Http\Controllers\News; use App\Http\Controllers\Controller; use Illuminate\Http\Request;; use App\Models\SliderModel; use App\Models\ArticleModel; use App\Models\CategoryModel; class HomeController extends Controller { private $pathViewController = 'news.pages.home.'; // slider private $...
<?php namespace Oro\Bundle\FilterBundle\Tests\Unit\Filter; use Doctrine\Common\Annotations\AnnotationReader; use Doctrine\ORM\Mapping\Driver\AnnotationDriver; use Oro\Bundle\FilterBundle\Filter\MultiEnumFilter; use Oro\Bundle\FilterBundle\Form\Type\Filter\EnumFilterType; use Oro\Bundle\FilterBundle\Tests\Unit\Filter...
<?php declare(strict_types=1); namespace NewTwitchApi5\Tests\Resources; use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\HandlerStack; use GuzzleHttp\Psr7\Response; use NewTwitchApi5\HelixGuzzleClient; use NewTwitchApi5\RequestGenerator; use NewTwitchApi5\Resources\UsersApi; use PHPUnit\Framework\TestCase; class ...