PHP code example of bud / depend
1. Go to this page and download the library: Download bud/depend 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/ */
bud / depend example snippets
declare(strict_types=1);
namespace App\Service;
use App\TestInterface;
use Bud\Depend\Annotation\Depend;
#[Depend(TestInterface::class,2)]
class TestService3 implements TestInterface
{
public function aa(): int
{
return 5645645645645645;
}
}