phug-php/util

View on GitHub
Util/BooleanSubjectInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Phug\Util;

interface BooleanSubjectInterface
{
    /**
     * Returns the subject of the current object.
     *
     * @return string
     */
    public function getSubject();

    /**
     * Returns true if the subject of the current object should be considered as a boolean.
     *
     * @return true
     */
    public function hasBooleanSubject();
}