Skip to content

Instantly share code, notes, and snippets.

View viniciusss's full-sized avatar

Vinícius de Sá Souza viniciusss

View GitHub Profile
<?php
namespace Faturamento/EntregaOrigem;
interface GeradorObervacao
{
public function getObservacao(Entrega $entrega);
}
25/05/2015-15:42:36:840: >> iTEFImprimirResposta_NFCe_Daruma(C:\Windows\Temp\imp3AB0.tmp, 1, 2, 0)
25/05/2015-15:42:36:841: >> genGetCorteGuilhotina_NFCe()
25/05/2015-15:42:36:841: >> impDaruma_GetCorteGuilhotina(79033680)
25/05/2015-15:42:36:841: >> hsImpEscreverBytes_NFCe(å)
25/05/2015-15:42:36:841: >> esEscreverSerial(COM7, å, 2)
25/05/2015-15:42:36:841: << esEscreverSerial - RETORNO NUMERO: 1
25/05/2015-15:42:36:842: << hsImpEscreverBytes_NFCe - RETORNO NUMERO: 1
25/05/2015-15:42:36:842: >> hsImpLerBytes_NFCe()
25/05/2015-15:42:38:992: >> fnGetCTSStatus(0)
25/05/2015-15:42:38:992: dwModemStatus = 0 - piCTS = 0
000-000 = CRT
001-000 = 34
003-000 = 729,00
004-000 = 0
009-000 = 0
010-000 = VISA ELECTRON
010-001 = 05
010-004 = 498442
011-000 = 32
012-000 = 999250004
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://wms.moveissimonetti.com.br/soap/index/index/service/expedicao" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body xmlns:rpc="http://www.w3.org/2003/05/soap-rpc"><ns1:consultarEtiquetasResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"><rpc:result>return</rpc:result><return enc:itemType="ns2:Map" enc:arraySize="10" xsi:type="enc:Array"><item xsi:type="ns2:Map"><item><key xsi:type="xsd:string">idCarga</key><value xsi:type="xsd:int">637801</value></item><item><key xsi:type="xsd:string">tipoCarga</key><value xsi:type="xsd:string">CARGA</value></item><item><key xsi:type="xsd:string">tipoPedido</key><value xsi:type="xsd:string">ENTREGA</value></item><item><key xsi:type="xsd:string">codPedido</key><value xsi:type="xsd:int">3414
<?php
class Chamado {
private $id;
private $descricao;
private $status;
}
class Chamdo_Builder {
public function build(array $dados){
<?php
include 'lib/SplClassLoader.php' ;
$classLoader = new SplClassLoader ( 'Symfony' , 'lib' ) ;
$classLoader -> register () ;
$classLoader = new SplClassLoader ( 'PHPGit' , 'lib' ) ;
$classLoader -> register ();
$git = new PHPGit\Git();
resources.doctrine.orm.entityManagers.default.DQLFunctions.numeric.LPAD = "DoctrineExtensions\ORM\Query\Functions\Numeric\LpadFunction"
resources.doctrine.orm.entityManagers.default.DQLFunctions.numeric.NVL = "DoctrineExtensions\ORM\Query\Functions\Numeric\NvlFunction"
resources.doctrine.orm.entityManagers.default.DQLFunctions.string.TRUNC = "DoctrineExtensions\ORM\Query\Functions\String\TruncFunction"
resources.doctrine.orm.entityManagers.default.DQLFunctions.string.TO_CHAR = "DoctrineExtensions\ORM\Query\Functions\String\To_charFunction"
resources.doctrine.dbal.connections.default.eventSubscribers[] = "Doctrine\DBAL\Event\Listeners\OracleSessionInit"
<?php
namespace Simonetti\MsMobile\SDK\Client;
use GuzzleHttp\Message\Response;
/**
* Resposta do client
* Interface ResponseInterface
<?php
$sdkKernel = \Simonetti\MsMobile\SDK\Kernel::factory(
[
'parameters' => __DIR__ . '/config/parameters.yaml'
]
);
/**
* @var \Simonetti\MsMobile\SDK\Service\Dispositivos\DispositivosManager $dispositivoManger