<?php
class CallableClass
{
public function __invoke($x)
{
var_dump($x);
}
}
$obj = new CallableClass;
$obj(5);
var_dump(is_callable($obj));
?>
.box-blog {
position: relative;
z-index: 1;
}
.box-blog:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: -50%;
left: -50%;
z-index: -1;
background: url(../img/shop.png) 0 0 repeat;
-webkit-transform: rotate(30deg);
transform: rotate(30deg);
}