PHP code example of jeyroik / extas-snuffbox-conditions

1. Go to this page and download the library: Download jeyroik/extas-snuffbox-conditions library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jeyroik / extas-snuffbox-conditions example snippets


use extas\components\conditions\TSnuffConditions;

class Test extends TestCase
{
    use TSnuffConditions;

    protected function tearDown()
    {
        $this->deleteSnuffConditions();
    }

    public function testSomething()
    {
        $this->createSnuffConditions(['equal', 'not_equal']);
    }
}