Skip to content

Latest commit

 

History

History
executable file
·
77 lines (54 loc) · 1.63 KB

README.md

File metadata and controls

executable file
·
77 lines (54 loc) · 1.63 KB

POO Pedagogique Project

Project Status SensioLabsInsight

Welcome to my the POO Project - A simply example to understand POO PHP with Composer.json & Symfony 2 Components

POO

  • Autoloading via Composer with PSR-4
  • Classes: attributes & getters/setters & constructor
  • Optional Arguments & Encapsulation's Argument
  • Magic Methods in class
  • Resolving attributes
  • Inheritance & Abstract & Final Class é Interfaces
  • Traits
  • Exceptions
  • API Reflexion with ReflectionObject && ReflectionClass for Plugins examples

Using Composer

curl -sS https://getcomposer.org/installer | php

Puis

php composer.phar install

OU

php composer.phar require symfony/finder

Exemple:

{
    "require": {
        "symfomany/cinhetic": "*"
    }
}

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:

    curl -s https://getcomposer.org/installer | php

Next, run the vendors script to download the bundles:

$ php bin/vendors install



13 Symfony Components used
------------------

* Debug Component
* Console Component
* Filesystem Component
* HTTP Fundations Component
* YAML Component
* Finder Component
* Process Component
* Config Component
* Dependency Injection Component
* Css Selector Component
* Dom Crawler Component
* Monolog Component
* StopWatch Component