Skip to content

Instantly share code, notes, and snippets.

Avatar

Christian 8-3

View GitHub Profile
@Zeronights
Zeronights / ExtendedReflectionClass.php
Last active Dec 12, 2020
PHP: Getting use statements and aliases from class
View ExtendedReflectionClass.php
<?php
/**
* The MIT License (MIT)
*
* Copyright (c) Ozgur (Ozzy) Giritli <ozgur@zeronights.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights