Runner/AbstractRunner.php

Last updated: 07/05/2017

Rylai\Runner

Uses

Rylai\Runner\AbstractRunner
Runner abstraction

Scan the folder , run analyzer , store the report

Properties
  • protected \Repository[] $_repositories = ?

    Repositories to store reflections by name

    For example we might want directory A to have different stores . Generally we only need 1 repo but this allow easy change later in future

    Rylai\Runner\AbstractRunner

Methods
  • abstract public getPaths()
    • @return string[]

    Get target path

  • abstract public getAnalyzers()
    • @return \AnalyzerInterface[]

    Get analyzers

  • abstract public getStores()
    • @return \StoreInterface[]

    Get stores

  • public getRepositories()
    • @return \Repository[]

    Get all repositories

  • public run()
    • @return void

    Runner will perform analyzing and storing the results

    After run, we will have reflections grouped by path key ( 'rylai' => 'var/www/rylai' ) . Then we will have all reflections analyzed and generated reports . After that we will fire up stores to store the reports