Issei.M's Techlog

Web/iOS エンジニアの僕が技術関連のメモ等をつらつらと。主に Symfony について書いています。

2012-12-01から1ヶ月間の記事一覧

[Doctrine][MySQL] アノテーションで unsigned を定義する

Doctrine2 のエンティティプロパティに unsigned を設定する方法が分かりづらかったのでメモ。 /** * @ORM\Id * @ORM\GeneratedValue(strategy="IDENTITY") * @ORM\Column(type="bigint", options={"unsigned"=true}) */ protected $id; こんな感じで Column…

[Symfony][Doctrine] Fixtures からサービスコンテナを取得する

Fixtures 内で、サービスコンテナを呼び出したくなる事はしばしばあります。 例えば User エンティティクラスが Security コンポーネントの UserInterface を実装している場合、PasswordEncoder を使いたくなりますね。 しかしそのままでは AbstractFixture …

iPod touch 欲しい!

iPod touch 欲しい! id:hatenablog http://staff.hatenablog.com/entry/iphone-app-campaign アプリをダウンロードしてiPod touchをもらおう! iPhoneアプリ「はてなブログ」をリリースしました

My memorable first entry!

My memorable first entry! Test with the Markdown. What is the Markdown? The Markdown is a notation that can effect HTML decoration to text pretty easily. Something like that: Strong, Italic, Code Snippet Test to embed a gist