<?php

namespace SmashBalloon\YoutubeFeed\Vendor\DI;

use SmashBalloon\YoutubeFeed\Vendor\DI\Definition\Definition;
/**
 * Debug utilities.
 *
 * @author Matthieu Napoli <matthieu@mnapoli.fr>
 */
class Debug
{
    /**
     * Dump the definition to a string.
     *
     * @return string
     *
     * @deprecated You should cast the definition to string instead.
     * This feature was simplified: definitions can be cast to string directly.
     */
    public static function dumpDefinition(Definition $definition)
    {
        return (string) $definition;
    }
}
