Skip to content

Commit

Permalink
Rename GeneratedCode to AopCode
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Nov 12, 2023
1 parent cf4481c commit f1c70b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GeneratedCode.php → src/AopCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
use const T_EXTENDS;
use const T_STRING;

final class GeneratedCode
final class AopCode
{
public const INTERCEPT_STATEMENT = '\$this->_intercept(__FUNCTION__, func_get_args());';

Expand Down
2 changes: 1 addition & 1 deletion src/AopCodeGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class AopCodeGen
*/
public function generate(ReflectionClass $sourceClass, BindInterface $bind, string $postfix): string
{
$code = new GeneratedCode(new MethodSignatureString(PHP_VERSION_ID));
$code = new AopCode(new MethodSignatureString(PHP_VERSION_ID));

return $code->generate($sourceClass, $bind, $postfix);
}
Expand Down

0 comments on commit f1c70b7

Please sign in to comment.