PHP code example of speedyspec / speedyspec-support
1. Go to this page and download the library: Download speedyspec/speedyspec-support 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/ */
speedyspec / speedyspec-support example snippets
use SpeedySpec\Support\Attributes\InPackageVersion;
#[InPackageVersion('1.0.0')]
class MyClass
{
#[InPackageVersion('1.0.0')]
public function myMethod()
{
}
}
#[InPackageVersion('1.0.0', 'speedyspec/speedyspec-support')]
class MyClass
{
#[InPackageVersion('1.0.0', 'speedyspec/speedyspec-support')]
#[InPackageVersion('2.0.0', 'speedyspec/speedyspec-support')]
public function myMethod()
{
}
}