Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Commit

Permalink
update dependency on calvinalkan/interfaces to 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinalkan committed May 16, 2021
1 parent 125df07 commit ff528e7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
14 changes: 11 additions & 3 deletions BaseContainerAdapter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

namespace SniccoAdapter;


declare(strict_types = 1);


namespace SniccoAdapter;

use Contracts\ContainerAdapter;
use Illuminate\Container\Container;
Expand Down Expand Up @@ -93,7 +97,6 @@ public function call( $callable, array $parameters = [] ) {

}


public function bind($abstract, $concrete)
{
$this->container->bind($abstract, $concrete );
Expand All @@ -104,4 +107,9 @@ public function singleton($abstract, $concrete)
$this->container->singleton($abstract, $concrete);
}

public function implementation()
{
return $this->container;
}

}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": "^7.3",
"illuminate/container": "8.35.1",
"calvinalkan/interfaces": "0.1.1"
"calvinalkan/interfaces": "0.1.2"
},

"license": "GPL-2.0-or-later",
Expand Down
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ff528e7

Please sign in to comment.