[ create a new paste ] login | about

Link: http://codepad.org/iqDrxpeD    [ raw code | output | fork ]

PHP, pasted on Oct 25:
1
2
3
4
5
6
7
8
9
10
11
12
<?php
interface Authenticable {
    // métodos
}
interface Model {
    // métodos
}
class Person implements Authenticable, Model {
    // métodos
}
$pessoa = new Person();
print_r(class_implements($pessoa));


Output:
1
2
3
4
5
Array
(
    [Authenticable] => Authenticable
    [Model] => Model
)


Create a new paste based on this one


Comments: