Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Pagekit\Debug\DataCollector; use DebugBar\DataCollector\DataCollectorInt..

Decoded Output download

<?php

namespace Pagekit\Debug\DataCollector;

use DebugBar\DataCollector\DataCollectorInterface;
use DebugBar\Storage\StorageInterface;

class ProfileDataCollector implements DataCollectorInterface
{
    protected $storage;

    /**
     * Constructor.
     *
     * @param StorageInterface $storage
     */
    public function __construct(StorageInterface $storage)
    {
        $this->storage = $storage;
    }

    /**
     * {@inheritdoc}
     */
    public function collect()
    {
        return ['requests' => $this->storage->find()];
    }

    /**
     * {@inheritdoc}
     */
    public function getName()
    {
        return 'profile';
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Pagekit\Debug\DataCollector;

use DebugBar\DataCollector\DataCollectorInterface;
use DebugBar\Storage\StorageInterface;

class ProfileDataCollector implements DataCollectorInterface
{
    protected $storage;

    /**
     * Constructor.
     *
     * @param StorageInterface $storage
     */
    public function __construct(StorageInterface $storage)
    {
        $this->storage = $storage;
    }

    /**
     * {@inheritdoc}
     */
    public function collect()
    {
        return ['requests' => $this->storage->find()];
    }

    /**
     * {@inheritdoc}
     */
    public function getName()
    {
        return 'profile';
    }
}

Function Calls

None

Variables

None

Stats

MD5 ce7378e20c404359ed1f9327eedf93cf
Eval Count 0
Decode Time 74 ms