PHP code example of tarekdj / nsfix

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

    

tarekdj / nsfix example snippets

diff
--- a/test/file.php
+++ b/test/file.php
@@ -1,14 +1,14 @@
 
-namespace Tarekdj;
+namespace NsfixTest;
 
-use Tarekdj\Dummy;
-use Tarekdj\Fake;
+use NsfixTest\Dummy;
+use NsfixTest\Fake;
 
-$test = new \Tarekdj\DummyClass()
+$test = new \NsfixTest\DummyClass()
 
-class MyClass extends \Tarekdj\MyDummyClass implements \Tarekdj\DummyInterface
+class MyClass extends \NsfixTest\MyDummyClass implements \NsfixTest\DummyInterface
 {
-    public function __construct(\Tarekdj\Fake $fake)
+    public function __construct(\NsfixTest\Fake $fake)
     {
 
     }