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 declare(strict_types=1); /* * This file is a part of Sculpin. * * (c) Dragonfly..

Decoded Output download

<?php

declare(strict_types=1);

/*
 * This file is a part of Sculpin.
 *
 * (c) Dragonfly Development Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sculpin\Core\Io;

/**
 * Defines how to output information and provides meta information on the output.
 *
 * @author Franois Pluchino <[email protected]>
 */
interface IoInterface
{
    /**
     * Is this an interactive output?
     */
    public function isInteractive(): bool;

    /**
     * Is this output verbose?
     */
    public function isVerbose(): bool;

    /**
     * Is the output very verbose?
     */
    public function isVeryVerbose(): bool;

    /**
     * Is the output in debug verbosity?
     */
    public function isDebug(): bool;

    /**
     * Is this output decorated?
     */
    public function isDecorated(): bool;

    /**
     * Writes a message to the output.
     *
     * @param string|array $messages The message as an array of lines or a single string
     * @param bool         $newline  Whether to add a newline or not
     */
    public function write($messages, bool $newline = true);

    /**
     * Overwrites a previous message to the output.
     *
     * @param string|array $messages The message as an array of lines or a single string
     * @param bool         $newline  Whether to add a newline or not
     * @param integer      $size     The size to overwrite (defaults to the whole last line)
     */
    public function overwrite($messages, bool $newline = true, ?int $size = null);
}
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

/*
 * This file is a part of Sculpin.
 *
 * (c) Dragonfly Development Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sculpin\Core\Io;

/**
 * Defines how to output information and provides meta information on the output.
 *
 * @author Franois Pluchino <[email protected]>
 */
interface IoInterface
{
    /**
     * Is this an interactive output?
     */
    public function isInteractive(): bool;

    /**
     * Is this output verbose?
     */
    public function isVerbose(): bool;

    /**
     * Is the output very verbose?
     */
    public function isVeryVerbose(): bool;

    /**
     * Is the output in debug verbosity?
     */
    public function isDebug(): bool;

    /**
     * Is this output decorated?
     */
    public function isDecorated(): bool;

    /**
     * Writes a message to the output.
     *
     * @param string|array $messages The message as an array of lines or a single string
     * @param bool         $newline  Whether to add a newline or not
     */
    public function write($messages, bool $newline = true);

    /**
     * Overwrites a previous message to the output.
     *
     * @param string|array $messages The message as an array of lines or a single string
     * @param bool         $newline  Whether to add a newline or not
     * @param integer      $size     The size to overwrite (defaults to the whole last line)
     */
    public function overwrite($messages, bool $newline = true, ?int $size = null);
}

Function Calls

None

Variables

None

Stats

MD5 7fd3963cfe7aadbe11d14797f75981f2
Eval Count 0
Decode Time 116 ms