6. Automatizace označuje použití samočinných řídicích systémů k řízení technologických
zařízení a procesů. Z pohledu industrializace jde o krok následující po mechanizaci.
Zatímco mechanizace poskytuje lidem k práci zařízení, které jim usnadňuje práci,
automatizace snižuje potřebu přítomnosti člověka při vykonávání určité činnosti.
https://cs.wikipedia.org/wiki/Automatizace
7. Automatizace označuje použití samočinných řídicích systémů k řízení technologických
zařízení a procesů. Z pohledu industrializace jde o krok následující po mechanizaci.
Zatímco mechanizace poskytuje lidem k práci zařízení, které jim usnadňuje práci,
automatizace snižuje potřebu přítomnosti člověka při vykonávání určité činnosti.
https://cs.wikipedia.org/wiki/Automatizace
15. The Entity shortcut name:
Welcome to the Doctrine2 entity generator
This command helps you generate Doctrine2 entities.
First, you need to give the entity name you want to generate.
You must use the shortcut notation like AcmeBlogBundle:Post.
16. AppBundle:Post
Configuration format (yml, xml, php, or annotation) [annotation]:
Determine the format to use for the mapping information.
New field name (press <return> to stop adding fields):
Instead of starting with a blank entity, you can add some fields
now.
Note that the primary key will be added automatically (named id).
Available types: array, simple_array, json_array, object,
boolean, integer, smallint, bigint, string, text, datetime, datetimetz,
date, time, decimal, float, binary, blob, guid.
17. title
Field type [string]:
Field length [255]:
Is nullable [false]:
Unique [false]:
New field name (press <return> to stop adding fields): key
Name "key" is a reserved word.
New field name (press <return> to stop adding fields): ukey
Field type [string]:
Field length [255]: 50
Is nullable [false]: true
Unique [false]: true
18. Entity generation
> Generating entity class ...AppBundleEntityPost.php: OK!
> Generating repository class ...
AppBundleRepositoryPostRepository.php: OK!
Everything is OK! Now get to work :).
Process finished with exit code 0 at 14:41:16.
Execution time: 1 032 236 ms.
34. ...php.exe bin/console doctrine:generate:entity --
entity=AppBundle:Post "--fields=ukey:string(length=50
unique=true nullable=true) title:string(255)" --no-interaction
Entity generation
> Generating entity class ...AppBundleEntityPost.php: OK!
> Generating repository class ...
AppBundleRepositoryPostRepository.php: OK!
Everything is OK! Now get to work :).
Process finished with exit code 0
44. ...php.exe bin/console doctrine:generate:entities AppBundle:Post
Generating entity "AppBundleEntityPost"
> backing up Post.php to Post.php~
> generating AppBundleEntityPost
Process finished with exit code 0
45. /**
* Set body
*
* @param string $body
* @return Post
*/
public function setBody($body)
{
$this->body = $body;
return $this;
}
/**
* Get body
*
* @return string
*/
public function getBody()
{
return $this->body;
}