New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adagio/class-finder

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adagio/class-finder

Find classes in PHP source code.

Source
Packagist
Version
1.0.3
Version published
Total downloads
1.5K
Maintainers
1
Created
Source

adagio/class-finder Build Status

Installation

The recommended way to install adagio/class-finder is through Composer.

$ composer require adagio/class-finder

Usage

use Adagio\ClassFinder\ClassFinder;

$classes = (new ClassFinder)->find('
<?php

namespace Polite;

class Person
{
    function sayHello() {
        echo "Hello world!";
    }
}
');

print_r($classes);

// Array
// (
//     [0] => Polite\Person
// )

Keywords

source

FAQs

Package last updated on 25 Jul 2018

Related posts