PHP code example of azaharizaman / nexus-disciplinary

1. Go to this page and download the library: Download azaharizaman/nexus-disciplinary 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/ */

    

azaharizaman / nexus-disciplinary example snippets


use Nexus\Disciplinary\Contracts\DisciplinaryCaseRepositoryInterface;
use Nexus\Disciplinary\Contracts\SanctionDecisionEngineInterface;

// Inject via constructor
public function __construct(
    private readonly DisciplinaryCaseRepositoryInterface $caseRepository,
    private readonly SanctionDecisionEngineInterface $sanctionEngine
) {}