PHP code example of docteurklein / funk-spec

1. Go to this page and download the library: Download docteurklein/funk-spec 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/ */

    

docteurklein / funk-spec example snippets

 bash

vim funk/Feature/That/DoesStuff/ProfitsTo/Customer.php
vendor/bin/funk funk
 php



namespace funk\Feature\That\DoesStuff\ProfitsTo;

use Funk\Spec;

class Customer implements Spec
{
    function it_simplifies_customers_life()
    {
        // pic or it didn't happen!
    }
}