Dhii/invoker-interface

View on GitHub
src/ArgsAwareInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Dhii\Invocation;

use Traversable;

/**
 * Something that can have invocation arguments retrieved.
 *
 * @since [*next-version*]
 */
interface ArgsAwareInterface
{
    /**
     * Retrieves the invocation arguments associated with this instance.
     *
     * @since [*next-version*]
     *
     * @return array|Traversable The arguments.
     */
    public function getArgs();
}