whitemerry/phpkin

View on GitHub
src/Sampler/Sampler.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace whitemerry\phpkin\Sampler;

/**
 * Interface Sampler
 *
 * @author Piotr Bugaj <whitemerry@outlook.com>
 * @package whitemerry\phpkin\Sampler
 */
interface Sampler
{
    /**
     * Sampler constructor.
     *
     * @param array $options
     */
    public function __construct($options = []);

    /**
     * Returns calculated flag
     *
     * @return bool
     */
    public function isSampled();
}