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 OpenApi\Examples\Polymorphism; use OpenApi\Annotations as OA; /** * @O..

Decoded Output download

<?php

namespace OpenApi\Examples\Polymorphism;

use OpenApi\Annotations as OA;

/**
 * @OA\Info(
 *     title="Polymorphism",
 *     description="Polymorphism example",
 *     version="1",
 *     @OA\Contact(name="Swagger API Team")
 * )
 * @OA\Tag(
 *     name="api",
 *     description="API operations"
 * )
 * @OA\Server(
 *     url="https://example.localhost",
 *     description="API server"
 * )
 */
class Controller
{
    /**
     * @OA\Get(
     *     path="/test",
     *     description="Get test",
     *     tags={"api"},
     *     @OA\Response(
     *         response="200",
     *         description="Polymorphism",
     *         @OA\JsonContent(ref="#/components/schemas/Request")
     *     )
     * )
     */
    public function getProduct($id)
    {
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace OpenApi\Examples\Polymorphism;

use OpenApi\Annotations as OA;

/**
 * @OA\Info(
 *     title="Polymorphism",
 *     description="Polymorphism example",
 *     version="1",
 *     @OA\Contact(name="Swagger API Team")
 * )
 * @OA\Tag(
 *     name="api",
 *     description="API operations"
 * )
 * @OA\Server(
 *     url="https://example.localhost",
 *     description="API server"
 * )
 */
class Controller
{
    /**
     * @OA\Get(
     *     path="/test",
     *     description="Get test",
     *     tags={"api"},
     *     @OA\Response(
     *         response="200",
     *         description="Polymorphism",
     *         @OA\JsonContent(ref="#/components/schemas/Request")
     *     )
     * )
     */
    public function getProduct($id)
    {
    }
}

Function Calls

None

Variables

None

Stats

MD5 2a31e56c12f3057fd968e1d361014b61
Eval Count 0
Decode Time 78 ms