use Vendor\Package\{ClassA as A, ClassB, ClassC as C};
use Vendor\Package\SomeNamespace\ClassD as D;
use Vendor\Package\AnotherNamespace\ClassE as E;
DD.MM.RRRR HH24:MI:SS
, то как-то так:update table_name set today = today || ' 00:00:00' where length(today) = 10;
/**
* @return User|null
*/
public function getAuthor(): ?User
{
return $this->author;
}
/**
* @param User $author
*
* @return Post
*/
public function setAuthor(User $author): Post
{
$this->author = $author;
return $this;
}
$date_registration = array('name' => $name, 'password' => $password);
$sth = $pdo->prepare("INSERT INTO users (name, password) VALUES (:name, SHA(:password))");
$sth->execute($date_registration);
// --
$_SESSION['user_id'] = $pdo->lastInsertId();
/*
ant-design/components/style/themes/default.less
строка 396-397
*/
@tabs-horizontal-padding: 12px 16px;
@tabs-vertical-padding: 8px 24px;