Repository.php

Last updated: 07/05/2017

Rylai

Uses

Rylai\Repository
Storing reflections inside an repository for later store can grouped it easily

For example having 2 repos going to 2 different indexs of elastic search or having 2 different folders for local html

Properties
Methods
  • public __construct($name)
  • public getName()
    • @return string

    Get repo name

  • public getFiles()
    • @return \File[]

    Get all files added

  • public addAnalyzer(Rylai\Analyzers\AnalyzerInterface $analyzer)
    • @param \AnalyzerInterface analyzer

    Add new analyzer

  • public analyze(Rylai\Reflection\File $file)
    • @param \File file
    • @return array

    Get all reports for current file

    Store will store by file, so we analyze by file inside repository

  • public add(Rylai\Reflection\File $file)
    • @param \File file
    • @return \Repository

    Add new reflection